diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-15 16:00:50 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-15 16:00:50 +0100 |
commit | 2e4d96d87e04d8b2164f764dee727cd9057cf88d (patch) | |
tree | f4c931f649af0ae5c5bda4badece9550b631b3ac /media-libs/libraw/files | |
parent | 24968da221fcb0848cdb4dc82a8d39b7f2ee7861 (diff) |
gentoo auto-resync : 15:10:2023 - 16:00:49
Diffstat (limited to 'media-libs/libraw/files')
-rw-r--r-- | media-libs/libraw/files/libraw-0.21.1-CVE-2023-1729.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/media-libs/libraw/files/libraw-0.21.1-CVE-2023-1729.patch b/media-libs/libraw/files/libraw-0.21.1-CVE-2023-1729.patch new file mode 100644 index 000000000000..427b3c852c16 --- /dev/null +++ b/media-libs/libraw/files/libraw-0.21.1-CVE-2023-1729.patch @@ -0,0 +1,22 @@ +From 9ab70f6dca19229cb5caad7cc31af4e7501bac93 Mon Sep 17 00:00:00 2001 +From: Alex Tutubalin <lexa@lexa.ru> +Date: Sat, 14 Jan 2023 18:32:59 +0300 +Subject: [PATCH] do not set shrink flag for 3/4 component images + +--- + src/preprocessing/raw2image.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/preprocessing/raw2image.cpp b/src/preprocessing/raw2image.cpp +index e65e2ad7..702cf290 100644 +--- a/src/preprocessing/raw2image.cpp ++++ b/src/preprocessing/raw2image.cpp +@@ -43,6 +43,8 @@ void LibRaw::raw2image_start() + + // adjust for half mode! + IO.shrink = ++ !imgdata.rawdata.color4_image && !imgdata.rawdata.color3_image && ++ !imgdata.rawdata.float4_image && !imgdata.rawdata.float3_image && + P1.filters && + (O.half_size || ((O.threshold || O.aber[0] != 1 || O.aber[2] != 1))); + |