The Samba-Bugzilla – Attachment 11500 Details for
Bug 10634
Notify response is failing with NOTIFY_ENUM_DIR.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Make test fails, sorry for the noise
10634.patch (text/plain), 969 bytes, created by
Volker Lendecke
on 2015-10-16 14:43:24 UTC
(
hide
)
Description:
Make test fails, sorry for the noise
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2015-10-16 14:43:24 UTC
Size:
969 bytes
patch
obsolete
>From 7c254bbe6430cc5533b44c750c567c9a5febe47e Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Fri, 16 Oct 2015 16:35:41 +0200 >Subject: [PATCH] smbd: Fix file name buflen in notify repsonse > >The array is uint16, doubling the file name length consumes twice the space >required. > >Bug: https://bugzilla.samba.org/show_bug.cgi?id=10634 >Signed-off-by: Volker Lendecke <vl@samba.org> >--- > librpc/idl/notify.idl | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/librpc/idl/notify.idl b/librpc/idl/notify.idl >index 66422ec..c363776 100644 >--- a/librpc/idl/notify.idl >+++ b/librpc/idl/notify.idl >@@ -93,6 +93,7 @@ interface notify > uint32 NextEntryOffset; > FILE_NOTIFY_ACTION Action; > [value(strlen_m(FileName1)*2)] uint32 FileNameLength; >- [charset(UTF16),flag(STR_NOTERM)] uint16 FileName1[FileNameLength]; >+ [charset(UTF16),flag(STR_NOTERM)] >+ uint16 FileName1[strlen_m(FileName1)]; > } FILE_NOTIFY_INFORMATION; > } >-- >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
Actions:
View
Attachments on
bug 10634
:
9980
|
11500
|
11503
|
11504
|
11505