smbd: Fix "map acl inherit" = yes
commitf65f08118c98f2475a5b54ceb01ab4cb2f468715
authorVolker Lendecke <vl@samba.org>
Wed, 1 Feb 2017 14:41:43 +0000 (1 14:41 +0000)
committerKarolin Seeger <kseeger@samba.org>
Tue, 7 Feb 2017 08:36:24 +0000 (7 09:36 +0100)
treeffc865c8f25817bd66733535a8c45ef4171150cf
parentbb453f5b558de3a9d601005ba002c766672859c6
smbd: Fix "map acl inherit" = yes

Brown-Paper-Bag bug in f85c2a6852a. The assignment contains a self-reference
in get_pai_flags which I missed.

Fix an uninitialized read.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=12551
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Feb  1 22:06:50 CET 2017 on sn-devel-144

(cherry picked from commit 129bc58eee4b1868b1aaec6194808752520517b4)
source3/smbd/posix_acls.c