CVE-2018-10919 acl_read: Flip the logic in the dirsync check
authorTim Beale <timbeale@catalyst.net.nz>
Mon, 30 Jul 2018 04:00:15 +0000 (16:00 +1200)
committerKarolin Seeger <kseeger@samba.org>
Sat, 11 Aug 2018 06:16:02 +0000 (08:16 +0200)
commit1575ba4234a7fbb0d2cc7b23e361c4e753939a6b
tree29d41c51c9c350f808775a09b31bed54b200e332
parentf9fa4e5c9325c68e97f51ac76855b1d92a4f1cba
CVE-2018-10919 acl_read: Flip the logic in the dirsync check

This better reflects the special case we're making for dirsync, and gets
rid of a 'if-else' clause.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
source4/dsdb/samdb/ldb_modules/acl_read.c