CVE-2021-44142: libadouble: add defines for icon lengths
authorRalph Boehme <slow@samba.org>
Thu, 13 Jan 2022 15:48:01 +0000 (16:48 +0100)
committerAndreas Schneider <asn@samba.org>
Wed, 26 Jan 2022 09:38:57 +0000 (10:38 +0100)
From https://www.ietf.org/rfc/rfc1740.txt

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14914

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

index afad70ce18045d3ba693d7283960e96446e6b991..3a35620bfe4f205dc37d382e9afe28cfb3ba3aba 100644 (file)
@@ -283,6 +283,8 @@ typedef enum {ADOUBLE_META, ADOUBLE_RSRC} adouble_type_t;
 #define ADEDLEN_MACFILEI        4
 #define ADEDLEN_PRODOSFILEI     8
 #define ADEDLEN_MSDOSFILEI      2
+#define ADEDLEN_ICONBW          128
+#define ADEDLEN_ICONCOL         1024
 #define ADEDLEN_DID             4
 #define ADEDLEN_PRIVDEV         8
 #define ADEDLEN_PRIVINO         8