diff options
author | Ralph Boehme <slow@samba.org> | 2017-12-06 22:05:23 +0100 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2018-01-09 12:53:32 +0100 |
commit | a22833c2971dc7234b32741305f40ed62e232e0b (patch) | |
tree | 84cbf6f9eb2cc08bde5ef86d71cff9b2ca69b167 /source4/torture/vfs | |
parent | 7901f7c3baad974d3126c767cb4ef513f88564cd (diff) | |
download | samba-a22833c2971dc7234b32741305f40ed62e232e0b.tar.gz |
s4/torture/fruit: ensure AFP_AfpInfo blobs are 0-initialized
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>
Diffstat (limited to 'source4/torture/vfs')
-rw-r--r-- | source4/torture/vfs/fruit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/vfs/fruit.c b/source4/torture/vfs/fruit.c index 476e9204ca7..7c1692c00ab 100644 --- 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; } |