From: Mathieu Desnoyers Date: Fri, 12 Jul 2013 15:41:10 +0000 (-0400) Subject: Missing NULL pointer init in tap.c X-Git-Tag: v2.2.2~22 X-Git-Url: http://git.liburcu.org/?p=lttng-ust.git;a=commitdiff_plain;h=bbd25c0d89f11ccb7c963b1b6186c4c083f8ecba Missing NULL pointer init in tap.c Could lead to free() of unitialized pointer. Signed-off-by: Mathieu Desnoyers --- diff --git a/tests/tap.c b/tests/tap.c index a4309511..86c89a23 100644 --- a/tests/tap.c +++ b/tests/tap.c @@ -294,7 +294,7 @@ int skip(unsigned int n, char *fmt, ...) { va_list ap; - char *skip_msg; + char *skip_msg = NULL; LOCK;