[krbdev.mit.edu #1146] string2key gets wrong salt with Heimdal KDC and converted AFS accounts

Tom Yu via RT rt-comment at krbdev.mit.edu
Fri Sep 13 16:00:18 EDT 2002


>>>>> "WF" == Wolfgang FRIEBEL <Wolfgang.Friebel at cern.ch> writes:

WF> there was a typo in the 3 lines to be included. The test on c must of 
WF> course not be >= 0 but > 0 only. It would even be better to get the salt 
WF> correct in the first place, i.e. at the place where salt->data is set.

I corrected the patch when I checked it in for the 1.2.6 release; it
checks that the pointer returned from strchr() is not NULL.

---Tom



More information about the krb5-bugs mailing list