Fix bug 8072 - PANIC: create_file_acl_common frees handle two times.
commit37145c97f59bdf0e6c97a0545f5aa9c35a6243af
authorJeremy Allison <jra@samba.org>
Fri, 8 Apr 2011 21:24:44 +0000 (8 14:24 -0700)
committerJeremy Allison <jra@samba.org>
Sat, 9 Apr 2011 01:26:23 +0000 (8 18:26 -0700)
tree93a1213685e68bb9618701e62619f2368ba4e9fa
parentaa08a226cd7bf4ec9f065d044ed2c8da38050153
Fix bug 8072 - PANIC: create_file_acl_common frees handle two times.

Caused by premature optimisation storing the parent ACL on the
module handle instead of (correctly) on the file fsp. Previous
code wasn't reentrant safe. This is less optimal but doesn't
crash in the specific case :-).

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Apr  9 02:05:15 CEST 2011 on sn-devel-104
(cherry picked from commit af45636166c7a0cb87630105d18ce489e7391525)
source3/modules/vfs_acl_common.c