svn rev #24288: trunk/src/lib/kadm5/srv/

ghudson@MIT.EDU ghudson at MIT.EDU
Fri Sep 3 18:21:39 EDT 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=24288
Commit By: ghudson
Log Message:
Prevent a double free in k5_pwqual_load().



Changed Files:
U   trunk/src/lib/kadm5/srv/pwqual.c
Modified: trunk/src/lib/kadm5/srv/pwqual.c
===================================================================
--- trunk/src/lib/kadm5/srv/pwqual.c	2010-09-03 02:43:21 UTC (rev 24287)
+++ trunk/src/lib/kadm5/srv/pwqual.c	2010-09-03 22:21:39 UTC (rev 24288)
@@ -66,6 +66,7 @@
         ret = (*mod)(context, 1, 1, (krb5_plugin_vtable)&handle->vt);
         if (ret != 0) {         /* Failed vtable init is non-fatal. */
             free(handle);
+            handle = NULL;
             continue;
         }
         handle->data = NULL;




More information about the cvs-krb5 mailing list