svn rev #22322: trunk/src/lib/krb5/krb/
ghudson@MIT.EDU
ghudson at MIT.EDU
Thu May 7 15:42:58 EDT 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=22322
Commit By: ghudson
Log Message:
After consultation with kenh, remove a comment and if statement which
should no longer apply to the pa_sam_2 code, fixing a memory leak.
Changed Files:
U trunk/src/lib/krb5/krb/preauth2.c
Modified: trunk/src/lib/krb5/krb/preauth2.c
===================================================================
--- trunk/src/lib/krb5/krb/preauth2.c 2009-05-06 18:54:47 UTC (rev 22321)
+++ trunk/src/lib/krb5/krb/preauth2.c 2009-05-07 19:42:57 UTC (rev 22322)
@@ -1607,13 +1607,6 @@
}
if (!valid_cksum) {
-
- /* If KRB5_SAM_SEND_ENCRYPTED_SAD is set, then password is only */
- /* source for checksum key. Therefore, a bad checksum means a */
- /* bad password. Don't give that direct feedback to someone */
- /* trying to brute-force passwords. */
-
- if (!(sc2b->sam_flags & KRB5_SAM_SEND_ENCRYPTED_SAD))
krb5_free_sam_challenge_2(context, sc2);
krb5_free_sam_challenge_2_body(context, sc2b);
/*
More information about the cvs-krb5
mailing list