projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7981e0a
)
Prevent a double free in k5_pwqual_load()
author
Greg Hudson
<ghudson@mit.edu>
Fri, 3 Sep 2010 22:21:39 +0000
(22:21 +0000)
committer
Greg Hudson
<ghudson@mit.edu>
Fri, 3 Sep 2010 22:21:39 +0000
(22:21 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24288
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/kadm5/srv/pwqual.c
patch
|
blob
|
history
diff --git
a/src/lib/kadm5/srv/pwqual.c
b/src/lib/kadm5/srv/pwqual.c
index 646bfcb3c452c3c14ac94d5216356dabf5345b9b..3e728a4804f5f3f134681c994a75aae95fc71b25 100644
(file)
--- a/
src/lib/kadm5/srv/pwqual.c
+++ b/
src/lib/kadm5/srv/pwqual.c
@@
-66,6
+66,7
@@
k5_pwqual_load(krb5_context context, pwqual_handle **handles,
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;