vfs_fruit: allocate ad_data buffer up to AD_XATTR_MAX_HDR_SIZE bytes
authorRalph Boehme <slow@samba.org>
Tue, 10 Oct 2017 14:04:29 +0000 (16:04 +0200)
committerRalph Boehme <slow@samba.org>
Fri, 13 Oct 2017 15:40:07 +0000 (17:40 +0200)
commitab8d01959b906d0b2873357f836bff72d209ff98
treedb8b310abdabf87a89561e942f79cd95ec10bc88
parentb5a664e2580d8823f4f2d3e7e516b576317eb290
vfs_fruit: allocate ad_data buffer up to AD_XATTR_MAX_HDR_SIZE bytes

This is in preperation of reading potential xattr header data from the
AppleDouble file, not just reading a fixed amount of bytes.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/modules/vfs_fruit.c