git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
228ef49
)
s3:modules: Initialize pointers in vfs_virusfilter
author
Andreas Schneider
<asn@samba.org>
Wed, 16 May 2018 10:11:30 +0000
(12:11 +0200)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 16 May 2018 19:30:22 +0000
(21:30 +0200)
Found by Coverity.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/modules/vfs_virusfilter_sophos.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_virusfilter_sophos.c
b/source3/modules/vfs_virusfilter_sophos.c
index 72051cd64a28cc054c4c19ae1cbd6ccf23ad7903..82f9cbce7494d00cdb82eeb9e51bea305b82a3f3 100644
(file)
--- 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;