]> git.ipfire.org Git - thirdparty/samba.git/commit
CVE-2023-4154 libcli/security: prepare security_descriptor_acl_add() to place the...
authorStefan Metzmacher <metze@samba.org>
Thu, 16 Mar 2023 09:00:11 +0000 (10:00 +0100)
committerJule Anger <janger@samba.org>
Mon, 9 Oct 2023 20:15:19 +0000 (22:15 +0200)
commit7ebf51dd8b57b5932bb6f923d513e3f84c653567
treec86c35eb459eb6a6abb2402ae5019ffd523a2013
parentda9bdf36c357826f4dd25cf1121dfdbba3ed1dd2
CVE-2023-4154 libcli/security: prepare security_descriptor_acl_add() to place the ace at a position

Often it is important to insert an ace at a specific position in the
ACL. As a default we still append by default by using -1, which is the
generic version of passing the number of existing aces.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15424

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
(cherry picked from commit c3cb915a67aff6739b72b86d7d139609df309ada)
libcli/security/security_descriptor.c