Fix bug 8072 - PANIC: create_file_acl_common frees handle two times. master
authorJeremy Allison <jra@samba.org>
Fri, 8 Apr 2011 21:24:44 +0000 (14:24 -0700)
committerJeremy Allison <jra@samba.org>
Sat, 9 Apr 2011 00:05:15 +0000 (02:05 +0200)
commitaf45636166c7a0cb87630105d18ce489e7391525
tree755f245cf674dd3c8adedaebc6e3ac6e9ea13686
parentc6c17242d23cd03acd5adc29969177881a7d04e1
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
source3/modules/vfs_acl_common.c