svn rev #23298: trunk/src/kdc/
ghudson@MIT.EDU
ghudson at MIT.EDU
Sat Nov 21 18:08:03 EST 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=23298
Commit By: ghudson
Log Message:
For the moment, test for nullity of pointers returned by k5alloc
instead of result codes, to make Coverity happy.
Changed Files:
U trunk/src/kdc/kdc_authdata.c
Modified: trunk/src/kdc/kdc_authdata.c
===================================================================
--- trunk/src/kdc/kdc_authdata.c 2009-11-21 10:42:15 UTC (rev 23297)
+++ trunk/src/kdc/kdc_authdata.c 2009-11-21 23:08:03 UTC (rev 23298)
@@ -828,7 +828,7 @@
if (i != 0) {
sign_authdata = k5alloc((i + 1) * sizeof(krb5_authdata *), &code);
- if (code != 0)
+ if (sign_authdata == NULL)
return code;
for (i = 0, j = 0; authdata[i] != NULL; i++) {
More information about the cvs-krb5
mailing list