From e7e4362ba24fe0300b2b649949e097c062a58756 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 16 May 2018 12:11:30 +0200 Subject: [PATCH] s3:modules: Initialize pointers in vfs_virusfilter Found by Coverity. Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- source3/modules/vfs_virusfilter_sophos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/modules/vfs_virusfilter_sophos.c b/source3/modules/vfs_virusfilter_sophos.c index 72051cd64a28..82f9cbce7494 100644 --- a/source3/modules/vfs_virusfilter_sophos.c +++ b/source3/modules/vfs_virusfilter_sophos.c @@ -234,7 +234,7 @@ static virusfilter_result virusfilter_sophos_scan( virusfilter_result result = VIRUSFILTER_RESULT_ERROR; char *report = NULL; char *reply = NULL; - char *reply_token, *reply_saveptr; + char *reply_token = NULL, *reply_saveptr = NULL; int ret; bool ok; -- 2.34.1