CVE-2018-10919 acl_read: Small refactor to aclread_callback()
commitf9fa4e5c9325c68e97f51ac76855b1d92a4f1cba
authorTim Beale <timbeale@catalyst.net.nz>
Thu, 26 Jul 2018 00:20:49 +0000 (26 12:20 +1200)
committerKarolin Seeger <kseeger@samba.org>
Sat, 11 Aug 2018 06:16:02 +0000 (11 08:16 +0200)
treea9c2391eb79a6fa1cdbbb2d5f1583efbc799d0ab
parent6e35ae37611590cbebabf30c173071f1ee9b9766
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