The Samba-Bugzilla – Attachment 7077 Details for
Bug 8597
smb2_flush sends uninitialized memory
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for master
tmp.diff (text/plain), 842 bytes, created by
Stefan Metzmacher
on 2011-11-10 11:27:51 UTC
(
hide
)
Description:
Patch for master
Filename:
MIME Type:
Creator:
Stefan Metzmacher
Created:
2011-11-10 11:27:51 UTC
Size:
842 bytes
patch
obsolete
>From 0dd2a8419c8d4152971bdea1be48015c2c84b1e7 Mon Sep 17 00:00:00 2001 >From: Stefan Metzmacher <metze@samba.org> >Date: Thu, 10 Nov 2011 12:20:20 +0100 >Subject: [PATCH] s3:smb2_flush: outbody only needs 4 bytes (bug #8597) > >metze >--- > source3/smbd/smb2_flush.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/source3/smbd/smb2_flush.c b/source3/smbd/smb2_flush.c >index 9b00eb2..5f3c42a 100644 >--- a/source3/smbd/smb2_flush.c >+++ b/source3/smbd/smb2_flush.c >@@ -87,7 +87,7 @@ static void smbd_smb2_request_flush_done(struct tevent_req *subreq) > return; > } > >- outbody = data_blob_talloc(req->out.vector, NULL, 0x10); >+ outbody = data_blob_talloc(req->out.vector, NULL, 0x04); > if (outbody.data == NULL) { > error = smbd_smb2_request_error(req, NT_STATUS_NO_MEMORY); > if (!NT_STATUS_IS_OK(error)) { >-- >1.7.4.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
jra
:
review+
Actions:
View
Attachments on
bug 8597
: 7077