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)
committerJule Anger <janger@samba.org>
Sun, 30 Jan 2022 13:07:59 +0000 (14:07 +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>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/adouble.h

index 90a825c502e08f1325856e4a52d10d980992591d..e3b9263a1f9a4fdd3ee6756c60b9c50cebb985f1 100644 (file)
@@ -101,6 +101,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