svn rev #23382: trunk/src/lib/krb5/krb/
ghudson@MIT.EDU
ghudson at MIT.EDU
Sun Nov 29 20:19:14 EST 2009
http://mv.ezproxy.com.ezproxyberklee.flo.org/fisheye/changelog/krb5/?cs=23382
Commit By: ghudson
Log Message:
Terminate the loop in find_authdata_1 if we get an error in one of the
iterations.
Changed Files:
U trunk/src/lib/krb5/krb/copy_auth.c
Modified: trunk/src/lib/krb5/krb/copy_auth.c
===================================================================
--- trunk/src/lib/krb5/krb/copy_auth.c 2009-11-29 23:13:57 UTC (rev 23381)
+++ trunk/src/lib/krb5/krb/copy_auth.c 2009-11-30 01:19:14 UTC (rev 23382)
@@ -229,7 +229,7 @@
int i = 0;
krb5_error_code retval = 0;
- for (i = 0; in_authdat[i]; i++) {
+ for (i = 0; in_authdat[i] && retval == 0; i++) {
krb5_authdata *ad = in_authdat[i];
krb5_authdata **decoded_container;
More information about the cvs-krb5
mailing list