git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7e99c2
)
s4:libcli: use talloc_zero() for struct smb_composite_connect in fetchfile.c
author
Stefan Metzmacher
<metze@samba.org>
Wed, 18 Jul 2018 13:01:50 +0000
(15:01 +0200)
committer
Alexander Bokovoy
<ab@samba.org>
Tue, 24 Jul 2018 04:55:23 +0000
(06:55 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13308
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
source4/libcli/smb_composite/fetchfile.c
patch
|
blob
|
history
diff --git
a/source4/libcli/smb_composite/fetchfile.c
b/source4/libcli/smb_composite/fetchfile.c
index d19c86a8d05b3aa5c4d9bb1c6422fb5484a7e8f5..dc6f71b452e2262512102bac405b9af0bcceabc5 100644
(file)
--- a/
source4/libcli/smb_composite/fetchfile.c
+++ b/
source4/libcli/smb_composite/fetchfile.c
@@
-131,7
+131,7
@@
struct composite_context *smb_composite_fetchfile_send(struct smb_composite_fetc
state = talloc(c, struct fetchfile_state);
if (state == NULL) goto failed;
- state->connect = talloc(state, struct smb_composite_connect);
+ state->connect = talloc
_zero
(state, struct smb_composite_connect);
if (state->connect == NULL) goto failed;
state->io = io;