vfs_fruit: allocate ad_data buffer up to AD_XATTR_MAX_HDR_SIZE bytes
commit8d0359810bbb7180499fad750ae56fcfd5b72a79
authorRalph Boehme <slow@samba.org>
Tue, 10 Oct 2017 14:04:29 +0000 (10 16:04 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 25 Oct 2017 06:43:02 +0000 (25 08:43 +0200)
tree54d3fa3b6dd3e65338858d13662139e352fc51c2
parent1e4051b587d0ce1bbc3dca004509e1bca39a2020
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>
(backported from commit ab8d01959b906d0b2873357f836bff72d209ff98)
source3/modules/vfs_fruit.c