svn rev #21980: trunk/src/lib/krb5/krb/
ghudson@MIT.EDU
ghudson at MIT.EDU
Thu Feb 12 12:51:45 EST 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=21980
Commit By: ghudson
Log Message:
ticket: 6392
subject: Fix allocation failure check in walk_rtree
tags: pullup
target_version: 1.7
Check the correct variable for null after allocating the server string
in rtree_capath_vals.
Changed Files:
U trunk/src/lib/krb5/krb/walk_rtree.c
Modified: trunk/src/lib/krb5/krb/walk_rtree.c
===================================================================
--- trunk/src/lib/krb5/krb/walk_rtree.c 2009-02-12 17:39:41 UTC (rev 21979)
+++ trunk/src/lib/krb5/krb/walk_rtree.c 2009-02-12 17:51:45 UTC (rev 21980)
@@ -273,7 +273,7 @@
memcpy(clientz, client->data, client->length);
serverz = calloc(server->length + 1, 1);
- if (clientz == NULL) {
+ if (serverz == NULL) {
retval = ENOMEM;
goto error;
}
More information about the cvs-krb5
mailing list