From: Mathieu Desnoyers Date: Fri, 12 Jul 2013 15:41:08 +0000 (-0400) Subject: Missing NULL pointer init in tap.c X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=c2788d695a4b5d9792d9c705caac38b38358bc69 Missing NULL pointer init in tap.c Could lead to free() of unitialized pointer. Signed-off-by: Mathieu Desnoyers Signed-off-by: David Goulet --- diff --git a/tests/utils/tap/tap.c b/tests/utils/tap/tap.c index 5d64d844c..8bf72f6fc 100644 --- a/tests/utils/tap/tap.c +++ b/tests/utils/tap/tap.c @@ -296,7 +296,7 @@ int skip(unsigned int n, char *fmt, ...) { va_list ap; - char *skip_msg; + char *skip_msg = NULL; LOCK;