]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
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)
committerStefan Metzmacher <metze@samba.org>
Mon, 31 Jan 2022 15:27:37 +0000 (15:27 +0000)
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 8b14d0ab871ceb294266555cb60ea4de8b748729..de44f3f5fdc7cce56812393b639b2ab709e628b7 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