CVE-2018-10919 acl_read: Small refactor to aclread_callback()
authorTim Beale <timbeale@catalyst.net.nz>
Thu, 26 Jul 2018 00:20:49 +0000 (12:20 +1200)
committerKarolin Seeger <kseeger@samba.org>
Sat, 11 Aug 2018 19:56:41 +0000 (21:56 +0200)
commitdf6c1dbeb27ab4c7dedc2461a9d20a6b67ffdda4
tree5f02a721d1248060000e693f78d9515c4aeb9fc8
parente95c621a7f243058a24f00a02e25d5edde35565d
CVE-2018-10919 acl_read: Small refactor to aclread_callback()

Flip the dirsync check (to avoid a double negative), and use a helper
boolean variable.

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