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.3.0-rc1~2 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ea3b76ba76ae309b6a124a57a7e23503d15280fc;p=lttng-ust.git 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;