CVE-2021-44142: smbd: add Netatalk xattr used by vfs_fruit to the list of private...
authorRalph Boehme <slow@samba.org>
Sat, 20 Nov 2021 15:36:42 +0000 (16:36 +0100)
committerJule Anger <janger@samba.org>
Sun, 30 Jan 2022 13:08:00 +0000 (14:08 +0100)
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 <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
[slow@samba.org: conflict due to changed includes in source3/smbd/trans2.c]

source3/smbd/trans2.c

index 7acde285a90d23f6aa94e1014e9888816e840e3d..673d7165c04e212279a028b4da1f4eb6bef2099c 100644 (file)
@@ -44,6 +44,7 @@
 #include "messages.h"
 #include "smb1_utils.h"
 #include "libcli/smb/smb2_posix.h"
+#include "source3/lib/adouble.h"
 
 #define DIR_ENTRY_SAFETY_MARGIN 4096
 
@@ -240,6 +241,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
        };