diff options
author | Andreas Schneider <asn@samba.org> | 2018-05-16 12:11:30 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2018-05-16 21:30:22 +0200 |
commit | e7e4362ba24fe0300b2b649949e097c062a58756 (patch) | |
tree | e83e99d4284da3b4c7be7667e1bb8ec33c7131cb /source3/modules | |
parent | 228ef49324eba83c045be0f4fef323eba977bf6c (diff) | |
download | samba-e7e4362ba24fe0300b2b649949e097c062a58756.tar.gz |
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>
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_virusfilter_sophos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_virusfilter_sophos.c b/source3/modules/vfs_virusfilter_sophos.c index 72051cd64a2..82f9cbce749 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; |