Fix bug 8072 - PANIC: create_file_acl_common frees handle two times.
authorJeremy Allison <jra@samba.org>
Fri, 8 Apr 2011 22:25:18 +0000 (15:25 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 14 Jun 2011 10:57:25 +0000 (12:57 +0200)
commit40a6b1b25df3f437c0f785caa56f66993ee67ede
tree0623272df8d31832099eb19d535c0a8393efa20c
parent78e9a21d2c126df26dc90cdedad6a02c6cca534a
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.
(cherry picked from commit 23e6f41ec923e2d3b4684ee646c8cd29506d787a)
source3/modules/vfs_acl_common.c