1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source4/torture/drs
Joseph Sutton 64258fd8b1 CVE-2022-32746 s4:torture: 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. Correct
the expression to what it was probably 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
..
python s4/torture/drs/python: Fix attribute existence check 2021-09-28 09:44:35 +00:00
rpc CVE-2022-32746 s4:torture: Fix LDB flags comparison 2022-07-27 10:52:36 +00:00
unit s4-smbtorture: Fix typo in assertion message 2022-03-17 00:41:34 +00:00
drs_init.c s4: torture: Change torture_register_suite() to add a TALLOC_CTX *. 2017-05-05 15:52:11 +02:00
drs_util.c torture: Align a few integer types 2020-08-17 19:35:37 +00:00
wscript_build s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00