CVE-2022-32746 s4/dsdb/tombstone_reanimate: Use LDB_FLAG_MOD_TYPE() for flags equalit...
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 14 Jun 2022 09:11:33 +0000 (21:11 +1200)
committerJule Anger <janger@samba.org>
Sun, 24 Jul 2022 09:41:53 +0000 (11:41 +0200)
commitbedd0b768c3f92645af033399aefd7ee971d9150
treece4ffc582e30dee493a6d60d881a8210b0ee75e4
parent535b5a366a2ad054f729e57e282e402cf13b2efc
CVE-2022-32746 s4/dsdb/tombstone_reanimate: Use LDB_FLAG_MOD_TYPE() for flags equality check

Now unrelated flags will no longer affect the result.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
source4/dsdb/samdb/ldb_modules/tombstone_reanimate.c