Fix bug #8644 - vfs_acl_xattr and vfs_acl_tdb modules can fail to add inheritable...
authorJeremy Allison <jra@samba.org>
Fri, 2 Dec 2011 18:55:40 +0000 (10:55 -0800)
committerKarolin Seeger <kseeger@samba.org>
Mon, 5 Mar 2012 19:54:25 +0000 (20:54 +0100)
commit24bf25cacfaa727b06b99421b780502aba4b065c
treefbe953a3358427e4f1d4a8b56e42eedc789c223e
parent53c3f46cc16b5c6f37650f6c390a4716c271f261
Fix bug #8644 - vfs_acl_xattr and vfs_acl_tdb modules can fail to add inheritable entries on a directory with no stored ACL.

If referring to an fsp sbuf can be left as an uninitialized variable,
causing the 'is_directory' variable to be false when it should be true.
(cherry picked from commit 16c0d52842386fc2ebf975166b57b888d36796c5)
(cherry picked from commit c4e0462a9edfee64cba6cf5db18a54cc3c51c4f1)
source3/modules/vfs_acl_common.c