summaryrefslogtreecommitdiff
path: root/source4/torture/smb2
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-02-24 09:16:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:48:51 -0500
commit8d569e174f1e0c1bf23274738ccdea4bfca0eb48 (patch)
tree36842e94e68ae33f8d6f34d27b32daba23f51a71 /source4/torture/smb2
parent3260b5518853fa3d7cf543fca45b45d6aa0b9280 (diff)
downloadsamba-8d569e174f1e0c1bf23274738ccdea4bfca0eb48.tar.gz
samba-8d569e174f1e0c1bf23274738ccdea4bfca0eb48.tar.bz2
samba-8d569e174f1e0c1bf23274738ccdea4bfca0eb48.zip
r21524: don't send unitialized data to the socket
metze (This used to be commit 50955aa669c11a2ba20e2ce335dcb4bc3a178109)
Diffstat (limited to 'source4/torture/smb2')
-rw-r--r--source4/torture/smb2/scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/smb2/scan.c b/source4/torture/smb2/scan.c
index 75f62ffa74..0a200016c4 100644
--- a/source4/torture/smb2/scan.c
+++ b/source4/torture/smb2/scan.c
@@ -127,7 +127,7 @@ BOOL torture_smb2_setinfo_scan(struct torture_context *torture)
torture_smb2_testfile(tree, FNAME, &handle);
ZERO_STRUCT(io);
- io.in.blob = data_blob_talloc(mem_ctx, NULL, 1024);
+ io.in.blob = data_blob_talloc_zero(mem_ctx, 1024);
for (c=1;c<5;c++) {
for (i=0;i<0x100;i++) {