From c2788d695a4b5d9792d9c705caac38b38358bc69 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 12 Jul 2013 11:41:08 -0400 Subject: [PATCH] Missing NULL pointer init in tap.c Could lead to free() of unitialized pointer. Signed-off-by: Mathieu Desnoyers Signed-off-by: David Goulet --- tests/utils/tap/tap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.34.1