The Samba-Bugzilla – Attachment 6926 Details for
Bug 8473
smb2_find uses a hard coded max reply size of 0x10000 instead of smb2_max_trans
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for 3.6.1
0001-Fix-bug-8473-smb2_find-uses-a-hard-coded-max-reply-s.patch (text/plain), 957 bytes, created by
Jeremy Allison
on 2011-09-21 20:44:48 UTC
(
hide
)
Description:
git-am fix for 3.6.1
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2011-09-21 20:44:48 UTC
Size:
957 bytes
patch
obsolete
>From 1bf8dbb343dd123d07f8e486a477c637b42e21e3 Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Wed, 21 Sep 2011 11:30:06 -0700 >Subject: [PATCH] Fix bug #8473 - smb2_find uses a hard coded max reply size of 0x10000 instead of smb2_max_trans. > >Use lp_smb2_max_trans() instead of 0x10000. >(cherry picked from commit e68ebe600d9349e16e83aeb8e6ae8647c117d098) >--- > source3/smbd/smb2_find.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/source3/smbd/smb2_find.c b/source3/smbd/smb2_find.c >index e328fdd..362dff4 100644 >--- a/source3/smbd/smb2_find.c >+++ b/source3/smbd/smb2_find.c >@@ -281,7 +281,7 @@ static struct tevent_req *smbd_smb2_find_send(TALLOC_CTX *mem_ctx, > return tevent_req_post(req, ev); > } > >- if (in_output_buffer_length > 0x10000) { >+ if (in_output_buffer_length > lp_smb2_max_trans()) { > tevent_req_nterror(req, NT_STATUS_INVALID_PARAMETER); > return tevent_req_post(req, ev); > } >-- >1.7.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:
metze
:
review+
Actions:
View
Attachments on
bug 8473
: 6926 |
6992
|
6993
|
6994
|
6995