Skip Menu |
 

From: Dorian Ducournau <dodo040@hotmail.fr>
To: "krb5-bugs@mit.edu" <krb5-bugs@mit.edu>
Subject: Bug in src/tests/responder.c
Date: Fri, 6 Jan 2017 16:17:58 +0000

Hello,


I found a bug line 229 of responder.c : 


Instead of :


if (strncmp(chl->identities[0]->identity, "PKCS12:", 5) == 0)


should be :


if (strncmp(chl->identities[0]->identity, "PKCS12:", 7) == 0)



Regards


Dorian Ducournau


Thanks, we'll fix that. Out of curiosity, did you find this with an
automated tool, or did you just happen to be looking over that file?
From: Dorian Ducournau <dodo040@hotmail.fr>
To: "rt-comment@krbdev.mit.edu" <rt-comment@krbdev.mit.edu>
Subject: RE: [krbdev.mit.edu #8533] Bug in src/tests/responder.c
Date: Fri, 6 Jan 2017 17:28:39 +0000
RT-Send-Cc:

I'm implementing a program using a responder callback. I was using the responder test to see how it works. And succeeded at the end in the test. Not yet in the program because I get 'no questions to ask' in pkinit_client_prep_questions. I'm currently working on it. Besides if you have any clue on this point I take it.




De : Greg Hudson via RT <rt-comment@krbdev.mit.edu>
Envoyé : vendredi 6 janvier 2017 17:47
� : dodo040@hotmail.fr
Objet : [krbdev.mit.edu #8533] Bug in src/tests/responder.c
 
Thanks, we'll fix that.  Out of curiosity, did you find this with an
automated tool, or did you just happen to be looking over that file?
From: ghudson@mit.edu
Subject: git commit

Fix minor bug in responder.c test program

"PKCS12:" has seven characters, not five. Reported by Dorian Ducournau.

https://github.com/krb5/krb5/commit/2e51416b998ff7a0c6cf361de7b8bb241b4262fd
Author: Greg Hudson <ghudson@mit.edu>
Commit: 2e51416b998ff7a0c6cf361de7b8bb241b4262fd
Branch: master
src/tests/responder.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)