svn rev #22313: trunk/src/lib/krb5/krb/
ghudson@MIT.EDU
ghudson at MIT.EDU
Tue May 5 12:46:29 EDT 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=22313
Commit By: ghudson
Log Message:
In krb5int_rd_setpw_rep, if we get an error result, set ap_rep.length
to 0 so that it is initialized for a check later in the function.
Changed Files:
U trunk/src/lib/krb5/krb/chpw.c
Modified: trunk/src/lib/krb5/krb/chpw.c
===================================================================
--- trunk/src/lib/krb5/krb/chpw.c 2009-05-05 16:39:54 UTC (rev 22312)
+++ trunk/src/lib/krb5/krb/chpw.c 2009-05-05 16:46:29 UTC (rev 22313)
@@ -370,6 +370,7 @@
krberror->e_data.data = NULL; /*So we can free it later*/
krberror->e_data.length = 0;
krb5_free_error(context, krberror);
+ ap_rep.length = 0;
} else { /* Not an error*/
More information about the cvs-krb5
mailing list