summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2021-11-20 16:36:42 +0100
committerJule Anger <janger@samba.org>2022-01-30 14:08:00 +0100
commit9eba87ce4b47488f1422248b8d4ad9b37ae26899 (patch)
treecd73b632609cc58b2920fd333550dd8140dab860
parent57d9afe5d71da5360501f43f1c69208bca3b0769 (diff)
downloadsamba-9eba87ce4b47488f1422248b8d4ad9b37ae26899.tar.gz
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 <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> [slow@samba.org: conflict due to changed includes in source3/smbd/trans2.c]
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 7acde285a90..673d7165c04 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -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
};