1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

r21524: don't send unitialized data to the socket

metze
(This used to be commit 50955aa669c11a2ba20e2ce335dcb4bc3a178109)
This commit is contained in:
Stefan Metzmacher 2007-02-24 09:16:04 +00:00 committed by Gerald (Jerry) Carter
parent 3260b55188
commit 8d569e174f

View File

@ -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++) {