1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s3:modules: Initialize pointers in vfs_virusfilter

Found by Coverity.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andreas Schneider 2018-05-16 12:11:30 +02:00 committed by Andrew Bartlett
parent 228ef49324
commit e7e4362ba2

View File

@ -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;