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:
7901f7c
)
s4/torture/fruit: ensure AFP_AfpInfo blobs are 0-initialized
author
Ralph Boehme
<slow@samba.org>
Wed, 6 Dec 2017 21:05:23 +0000
(22:05 +0100)
committer
Ralph Boehme
<slow@samba.org>
Tue, 9 Jan 2018 11:53:32 +0000
(12:53 +0100)
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13181
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/vfs/fruit.c
patch
|
blob
|
history
diff --git
a/source4/torture/vfs/fruit.c
b/source4/torture/vfs/fruit.c
index 476e9204ca7009e78e7c1bc8b257428a6b76c3cd..7c1692c00ab6ef939014702e591f15b900c7e159 100644
(file)
--- a/
source4/torture/vfs/fruit.c
+++ b/
source4/torture/vfs/fruit.c
@@
-909,7
+909,7
@@
static char *torture_afpinfo_pack(TALLOC_CTX *mem_ctx,
{
char *buf;
- buf = talloc_array(mem_ctx, char, AFP_INFO_SIZE);
+ buf = talloc_
zero_
array(mem_ctx, char, AFP_INFO_SIZE);
if (buf == NULL) {
return NULL;
}