From 14de61c5543ffe1d0e8dadab64b3b4a69c7ddff9 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 12 Jul 2013 11:45:09 -0400 Subject: [PATCH] Missing NULL pointer init in tap.c Could lead to free() of unitialized pointer. Signed-off-by: Mathieu Desnoyers --- tests/lib/tap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/tap.c b/tests/lib/tap.c index a4309511..86c89a23 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; -- 2.34.1