CVE-2018-10919 acl_read: Split access_mask logic out into helper function
authorTim Beale <timbeale@catalyst.net.nz>
Fri, 20 Jul 2018 01:52:24 +0000 (13:52 +1200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 14 Aug 2018 11:57:16 +0000 (13:57 +0200)
commit80c4e17f0f28fd13c92938216bca0543c361bd9e
tree338cc12ee3e60dd71507d63af00cc5a83adfe95f
parentba46578f97ab35ac12ea0bd298c4180363224675
CVE-2018-10919 acl_read: Split access_mask logic out into helper function

So we can re-use the same logic laster for checking the search-ops.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
source4/dsdb/samdb/ldb_modules/acl_read.c