]> git.ipfire.org Git - thirdparty/samba.git/commit
libcli/security: sddl_decode_access rejects trailing rubbish
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Fri, 21 Apr 2023 03:47:32 +0000 (15:47 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 28 Apr 2023 02:15:36 +0000 (02:15 +0000)
commitc67f2292cba7a2ee047b196e565cf97cd6900973
treecbb0f7fcadc2d6e9bb7f25fabfb71fda70ecfa98
parentfaf1b80a9003b883c77451beaec599777b400eb8
libcli/security: sddl_decode_access rejects trailing rubbish

Before we just ignored things like negative numbers, because they'd
end up being seen as not-numbers, so treated as flags, then as
not-flags.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
libcli/security/sddl.c
selftest/knownfail.d/sddl