The Samba-Bugzilla – Attachment 10322 Details for
Bug 10848
SMB2 client queryinfo return length checks are incorrect.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for 4.1.next, 4.0.next.
0001-s3-smb2cli-query-info-return-length-check-was-revers.patch (text/plain), 1.21 KB, created by
Jeremy Allison
on 2014-10-02 18:05:48 UTC
(
hide
)
Description:
git-am fix for 4.1.next, 4.0.next.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2014-10-02 18:05:48 UTC
Size:
1.21 KB
patch
obsolete
>From 25b0536da32d32f03bf88caa3198287e9d2fdae3 Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Wed, 1 Oct 2014 14:20:10 -0700 >Subject: [PATCH] s3: smb2cli: query info return length check was reversed. > >Make it identical to the check in libcli/smb/smb2cli_ioctl.c > >https://bugzilla.samba.org/show_bug.cgi?id=10848 > >Signed-off-by: Jeremy Allison <jra@samba.org> >Reviewed-by: "Stefan (metze) Metzmacher" <metze@samba.org> >Reviewed-by: David Disseldorp <ddiss@suse.de> > >Autobuild-User(master): Jeremy Allison <jra@samba.org> >Autobuild-Date(master): Thu Oct 2 04:42:26 CEST 2014 on sn-devel-104 > >(cherry picked from commit 6c05cd3e895831be7d9a68a51de2048d04c188a0) >--- > libcli/smb/smb2cli_query_info.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/libcli/smb/smb2cli_query_info.c b/libcli/smb/smb2cli_query_info.c >index 80cec9c..0be3736 100644 >--- a/libcli/smb/smb2cli_query_info.c >+++ b/libcli/smb/smb2cli_query_info.c >@@ -152,7 +152,7 @@ static void smb2cli_query_info_done(struct tevent_req *subreq) > return; > } > >- if (output_buffer_length < dyn_len) { >+ if (output_buffer_length > dyn_len) { > tevent_req_nterror( > req, NT_STATUS_INVALID_NETWORK_RESPONSE); > return; >-- >1.9.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+
ddiss
:
review+
Actions:
View
Attachments on
bug 10848
: 10322