vfs_fruit: fix unpacking of AppleDouble files
authorRalph Boehme <rb@sernet.de>
Sat, 30 Aug 2014 08:24:05 +0000 (10:24 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 25 Sep 2014 19:19:12 +0000 (21:19 +0200)
commitef4b4155107927c7ee4e2bd370d9e6fd8cbb6f00
treec8bef9ef375512e4d6d320b436850b9687d28b13
parent5e5f060907a2de0c0de3f8bde4656610c48d81e0
vfs_fruit: fix unpacking of AppleDouble files

OS X AppleDouble files may contain a FinderInfo AppleDouble entry
larger then 32 bytes containing additional packed xattrs. ad_unpack()
must deal with this in a way that allows callers to possibly fixup
the entry.

Signed-off-by: Ralph Boehme <rb@sernet.de>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/modules/vfs_fruit.c