diff options
author | Jeff Layton <jlayton@samba.org> | 2013-01-28 21:38:12 -0500 |
---|---|---|
committer | Jeff Layton <jlayton@samba.org> | 2013-01-28 21:38:12 -0500 |
commit | fb9999a9d20495719f3fa323401b087ebef60a0d (patch) | |
tree | ba1c28ff7dd624b6a5eb7e5097baa2f6d4a404f9 /setcifsacl.1.in | |
parent | 1a01f7c4b90695211d12291d7a24bec05b1f2922 (diff) | |
download | cifs-utils-fb9999a9d20495719f3fa323401b087ebef60a0d.tar.gz cifs-utils-fb9999a9d20495719f3fa323401b087ebef60a0d.tar.bz2 cifs-utils-fb9999a9d20495719f3fa323401b087ebef60a0d.zip |
setcifsacl: fix infinite loop in getnumcaces
Jian pointed out that this loop can cycle infinitely when the string
contains a ','.
Also, fix typo in manpage that shows a trailing ',' in one example.
Reported-by: Jian Li <jiali@redhat.com>
Signed-off-by: Jeff Layton <jlayton@samba.org>
Diffstat (limited to 'setcifsacl.1.in')
-rw-r--r-- | setcifsacl.1.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setcifsacl.1.in b/setcifsacl.1.in index 5ede36a..d53a6ec 100644 --- a/setcifsacl.1.in +++ b/setcifsacl.1.in @@ -94,7 +94,7 @@ Set an ACL .br setcifsacl -S "ACL:CIFSTESTDOM\\Administrator:0x0/0x0/FULL, .br -ACL:CIFSTESTDOM\\user2:0x0/0x0/FULL," <file_name> +ACL:CIFSTESTDOM\\user2:0x0/0x0/FULL" <file_name> .PP .SH "NOTES" .PP |