]> git.ipfire.org Git - thirdparty/samba.git/commit
vfs_fruit: remove check for number of xattrs from ad_convert_xattr
authorRalph Boehme <slow@samba.org>
Fri, 19 Oct 2018 10:15:42 +0000 (12:15 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 29 Oct 2018 22:36:24 +0000 (23:36 +0100)
commit5d565f636fcf49fc1bbbfbc24ef730d2f7cc2cf0
tree4b79877919b916c0af0215a4016f1d94008ffd8e
parentb37f8f88eaf26a4d12fe9728e09aed68ddaaf1c0
vfs_fruit: remove check for number of xattrs from ad_convert_xattr

Turns out that there exist AppleDouble files with an extended FinderInfo
entry that includes the xattr marshall buffer, but the count of xattrs
in the buffer is just zero.

We do want to discard this extended FinderInfo entry and convert it to a
simple fixed size FinderInfo entry, so remove the check.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13649

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_fruit.c