The Samba-Bugzilla – Attachment 11081 Details for
Bug 11068
smbcacls does not set hex-encoded permissions correctly.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for 4.2.next.
0001-s3-lib-util-Ensure-we-read-a-hex-number-as-x-not-u.patch (text/plain), 1.13 KB, created by
Jeremy Allison
on 2015-05-22 07:22:20 UTC
(
hide
)
Description:
git-am fix for 4.2.next.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2015-05-22 07:22:20 UTC
Size:
1.13 KB
patch
obsolete
>From 5ee6f67c156f42b3a4f4461ad662d405b068ea75 Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Thu, 21 May 2015 12:35:43 +0200 >Subject: [PATCH] s3: lib: util: Ensure we read a hex number as %x, not %u. > >Based on a patch from Zoe O'Connell <zoe@metail.com> > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=11068 > >Signed-off-by: Jeremy Allison <jra@samba.org> >Reviewed-by: Jim McDonough <jmcd@samba.org> > >Autobuild-User(master): Jeremy Allison <jra@samba.org> >Autobuild-Date(master): Thu May 21 15:34:59 CEST 2015 on sn-devel-104 > >(cherry picked from commit e9f08528af0a5420d6a5fa3799b75c6058b6775f) >--- > source3/lib/util_sd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/source3/lib/util_sd.c b/source3/lib/util_sd.c >index 8100539..ee5dc6c 100644 >--- a/source3/lib/util_sd.c >+++ b/source3/lib/util_sd.c >@@ -501,7 +501,7 @@ bool parse_ace(struct cli_state *cli, struct security_ace *ace, > } > > if (strncmp(tok, "0x", 2) == 0) { >- if (sscanf(tok, "%u", &amask) != 1) { >+ if (sscanf(tok, "%x", &amask) != 1) { > printf("ACE '%s': bad hex number at '%s'\n", > orig_str, tok); > SAFE_FREE(str); >-- >2.1.4 >
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:
jmcd
:
review+
Actions:
View
Attachments on
bug 11068
:
10655
| 11081 |
11082