summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2022-01-13 16:48:01 +0100
committerStefan Metzmacher <metze@samba.org>2022-01-31 15:27:37 +0000
commita9211cfe6e4bceb1f1e61c0ddfda25f3232aa411 (patch)
treeda89332bd080d49ce462a282d145ccaaaa189f5f
parent1a5dc817c0c9379bbaab14c676681b42b0039a3c (diff)
downloadsamba-a9211cfe6e4bceb1f1e61c0ddfda25f3232aa411.tar.gz
CVE-2021-44142: libadouble: add defines for icon lengths
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>
-rw-r--r--source3/lib/adouble.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/adouble.h b/source3/lib/adouble.h
index 8b14d0ab871..de44f3f5fdc 100644
--- a/source3/lib/adouble.h
+++ b/source3/lib/adouble.h
@@ -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