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
This commit is contained in:
Martin Kosek 2011-01-11 16:19:31 +01:00 committed by Rob Crittenden
parent 1ea31a0cff
commit eba72c85e8

View File

@ -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 */