From: Ralph Boehme Date: Sat, 20 Nov 2021 15:36:42 +0000 (+0100) Subject: CVE-2021-44142: smbd: add Netatalk xattr used by vfs_fruit to the list of private... X-Git-Tag: tevent-0.12.0~825 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96083abc0c32aca397cfdf4341d179bfc5663d35;p=thirdparty%2Fsamba.git CVE-2021-44142: smbd: add Netatalk xattr used by vfs_fruit to the list of private Samba xattrs This is an internal xattr that should not be user visible. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14914 Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 456b928a4c4..b2d20a01888 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -46,6 +46,7 @@ #include "libcli/smb/smb2_posix.h" #include "lib/util/string_wrappers.h" #include "source3/lib/substitute.h" +#include "source3/lib/adouble.h" #define DIR_ENTRY_SAFETY_MARGIN 4096 @@ -203,6 +204,7 @@ bool samba_private_attr_name(const char *unix_ea_name) SAMBA_XATTR_DOS_ATTRIB, SAMBA_XATTR_MARKER, XATTR_NTACL_NAME, + AFPINFO_EA_NETATALK, NULL };