diff options
author | Ralph Boehme <slow@samba.org> | 2022-01-13 16:48:01 +0100 |
---|---|---|
committer | Jule Anger <janger@samba.org> | 2022-01-31 12:27:42 +0100 |
commit | 8b7d5751eee3c18ebbf9069e9b06a7c5e08a469e (patch) | |
tree | eeac7fdf8c6973ddd82a57b798aefc7505ce7b24 | |
parent | 8d0114ea973cfb610c0edf62f11c72ba1b525b03 (diff) | |
download | samba-8b7d5751eee3c18ebbf9069e9b06a7c5e08a469e.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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/adouble.h b/source3/lib/adouble.h index 90a825c502e..e3b9263a1f9 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 |