The Samba-Bugzilla – Attachment 6504 Details for
Bug 8192
smbcacls fails to parse multiple flags
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for v3-6-test
0001-s3-smbcacls-fix-parsing-of-multiple-flags.patch (text/plain), 855 bytes, created by
Gregor Beck (550 Unknown user)
on 2011-05-31 14:24:10 UTC
(
hide
)
Description:
patch for v3-6-test
Filename:
MIME Type:
Creator:
Gregor Beck (550 Unknown user)
Created:
2011-05-31 14:24:10 UTC
Size:
855 bytes
patch
obsolete
>From f63816840374bba8615afe06049e29da3f2a8d71 Mon Sep 17 00:00:00 2001 >From: Gregor Beck <gbeck@sernet.de> >Date: Thu, 26 May 2011 10:15:56 +0200 >Subject: [PATCH] s3:smbcacls: fix parsing of multiple flags > >Signed-off-by: Michael Adam <obnox@samba.org> >(cherry picked from commit c967e8fae5babf6e337c0e2b85fc42eccfe9e4c4) > >Fix bug #8192 >--- > source3/utils/smbcacls.c | 7 ++++++- > 1 files changed, 6 insertions(+), 1 deletions(-) > >diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c >index 2fd9a53..1d5789d 100644 >--- a/source3/utils/smbcacls.c >+++ b/source3/utils/smbcacls.c >@@ -360,7 +360,12 @@ static bool parse_ace_flags(const char *str, unsigned int *pflags) > return false; > } > >- if (*p != '|' && *p != '\0') { >+ switch (*p) { >+ case '|': >+ p++; >+ case '\0': >+ continue; >+ default: > return false; > } > } >-- >1.7.5.2 >
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:
obnox
:
review+
vl
:
review+
Actions:
View
Attachments on
bug 8192
: 6504