diff options
author | Martin Kosek <mkosek@redhat.com> | 2011-01-11 16:19:31 +0100 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-01-12 11:41:42 -0500 |
commit | eba72c85e8ebd9b7927194d7d4ad0dab559b3fb9 (patch) | |
tree | 226df0e7940c22c80229c8f38364bbf4d0de0c49 /daemons | |
parent | 1ea31a0cff783a4d0c76089c8bbe98137ae3288e (diff) | |
download | freeipa-eba72c85e8ebd9b7927194d7d4ad0dab559b3fb9.tar.gz freeipa-eba72c85e8ebd9b7927194d7d4ad0dab559b3fb9.tar.xz freeipa-eba72c85e8ebd9b7927194d7d4ad0dab559b3fb9.zip |
Uninitialized pointer read in ipa-enrollment
This patch fixes a situation where an uninitialized pointer
is passed to free().
https://fedorahosted.org/freeipa/ticket/713
Diffstat (limited to 'daemons')
-rw-r--r-- | daemons/ipa-slapi-plugins/ipa-enrollment/ipa_enrollment.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/ipa-slapi-plugins/ipa-enrollment/ipa_enrollment.c b/daemons/ipa-slapi-plugins/ipa-enrollment/ipa_enrollment.c index 9a5550a36..34fba02c4 100644 --- a/daemons/ipa-slapi-plugins/ipa-enrollment/ipa_enrollment.c +++ b/daemons/ipa-slapi-plugins/ipa-enrollment/ipa_enrollment.c @@ -141,7 +141,7 @@ ipa_join(Slapi_PBlock *pb) char * filter; int scope = LDAP_SCOPE_SUBTREE; - char *principal; + char *principal = NULL; struct berval retbval; /* Get Bind DN */ |