From b04609d61bdf598131a235987ecca53b3650a5b9 Mon Sep 17 00:00:00 2001 From: Mark Reynolds Date: Wed, 27 Aug 2014 10:25:30 -0400 Subject: [PATCH] Ticket 47881 - crash during debug session in adminutil Bug Description: Encountered a crash at admin server startup when attempting to debug the admin server. The crash was in the adminutil code. Fix Description: The was an uninitialized pointer that upon error was being dereferenced. I've had problems reproducing it since, but it is just a one line fix. https://fedorahosted.org/389/ticket/47881 Reviewed by: ? --- lib/libadminutil/admutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libadminutil/admutil.c b/lib/libadminutil/admutil.c index 839ab2d..1ab0151 100644 --- a/lib/libadminutil/admutil.c +++ b/lib/libadminutil/admutil.c @@ -1210,7 +1210,7 @@ admldapBuildInfoOnly(char* configRoot, int *errorcode) char buf[MAX_LEN], *name= NULL, *password=NULL; int status; - LDAPURLDesc *ldapInfo; + LDAPURLDesc *ldapInfo = NULL; *errorcode = ADMUTIL_OP_OK; -- 1.9.3