1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-09 09:57:48 +03:00
Joseph Sutton 99b805e4cb CVE-2022-32746 s4/dsdb/acl: Fix LDB flags comparison
LDB_FLAG_MOD_* values are not actually flags, and the previous
comparison was equivalent to

(el->flags & LDB_FLAG_MOD_MASK) == 0

which is only true if none of the LDB_FLAG_MOD_* values are set, so we
would not successfully return if the element was a DELETE. Correct the
expression to what it was intended to be.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
2022-07-27 10:52:36 +00:00
..
2022-07-08 09:05:56 +00:00
2018-04-24 01:53:19 +02:00
2022-04-26 21:41:29 +00:00
2022-07-08 09:05:56 +00:00
2022-01-01 01:24:21 +00:00
2022-07-08 09:05:56 +00:00
2022-07-15 12:08:36 +00:00
2022-07-08 09:59:19 +00:00