The Samba-Bugzilla – Attachment 11971 Details for
Bug 11822
source3/libsmb/clilist.c reads short name length as 2 bytes, instead of 1 byte plus reserved.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for 4.4.next, 4.3.next.
0001-s3-libsmb-Fix-error-where-short-name-length-was-read.patch (text/plain), 1.21 KB, created by
Jeremy Allison
on 2016-04-07 17:40:25 UTC
(
hide
)
Description:
git-am fix for 4.4.next, 4.3.next.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2016-04-07 17:40:25 UTC
Size:
1.21 KB
patch
obsolete
>From 2d3d006e367c8f40effc3906381563b05946bfc3 Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Tue, 5 Apr 2016 13:07:06 -0700 >Subject: [PATCH] s3: libsmb: Fix error where short name length was read as 2 > bytes, should be 1. > >Reported by Thomas Dvorachek <tdvorachek@yahoo.com> from a Windows 10 server. >Confirmed in MS-CIFS 2.2.8.1.7. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=11822 > >Signed-off-by: Jeremy Allison <jra@samba.org> >Reviewed-by: Ralph Boehme <slow@samba.org> > >Autobuild-User(master): Jeremy Allison <jra@samba.org> >Autobuild-Date(master): Wed Apr 6 03:46:55 CEST 2016 on sn-devel-144 > >(cherry picked from commit f63b9a73b03971f41947c694e6952cd1e49b67c3) >--- > source3/libsmb/clilist.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/source3/libsmb/clilist.c b/source3/libsmb/clilist.c >index 94bbc57..6438d3b 100644 >--- a/source3/libsmb/clilist.c >+++ b/source3/libsmb/clilist.c >@@ -186,7 +186,7 @@ static size_t interpret_long_filename(TALLOC_CTX *ctx, > namelen = IVAL(p,0); > p += 4; > p += 4; /* EA size */ >- slen = SVAL(p, 0); >+ slen = CVAL(p, 0); > if (slen > 24) { > /* Bad short name length. */ > return pdata_end - base; >-- >2.8.0.rc3.226.g39d4020 >
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:
slow
:
review+
Actions:
View
Attachments on
bug 11822
:
11965
| 11971