fix for panic in smbd in vfs_acl_common (developer only)

Michael Adam obnox at samba.org
Mon Dec 3 18:11:13 MST 2012


Hi,

here is a patch that fixes a panic in master/v4-0-test code.

I triggered it like this:

- built without posix acl support (by accident)
- ran with vfs_acl_xattr enabled
- tried to change and acl
  => this failed with access denied due to "to many aces to map to posix perms"
  => error code path in vfs_acl_common does not free frame
  => main event loop panics "frame not freed in order"

This is a panic only in developer mode,
but possibly bad enough to fix it for 4.0.

Feel free to push to master if appropriate.

Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3-smbd-vfs_acl-fix-a-PANIC-when-setting-an-ACL-fail.patch
Type: text/x-patch
Size: 1097 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20121204/30ec82ea/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 206 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20121204/30ec82ea/attachment.pgp>


More information about the samba-technical mailing list