From: Mathieu Desnoyers Date: Fri, 12 Jul 2013 15:45:09 +0000 (-0400) Subject: Missing NULL pointer init in tap.c X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=827591c5b0935f415b4843bc649a22004a253e65;p=deliverable%2Fbabeltrace.git Missing NULL pointer init in tap.c Could lead to free() of unitialized pointer. Signed-off-by: Mathieu Desnoyers --- diff --git a/tests/lib/tap.c b/tests/lib/tap.c index a43095119..86c89a23b 100644 --- a/tests/lib/tap.c +++ b/tests/lib/tap.c @@ -294,7 +294,7 @@ int skip(unsigned int n, char *fmt, ...) { va_list ap; - char *skip_msg; + char *skip_msg = NULL; LOCK;