From 077e0e831423827ec97c98a46b5f2cc03fb4a6ea Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 7 Feb 2023 09:24:06 +0000 Subject: gentoo auto-resync : 07:02:2023 - 09:24:06 --- media-libs/tiff/files/tiff-4.5.0-CVE-2022-48281.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 media-libs/tiff/files/tiff-4.5.0-CVE-2022-48281.patch (limited to 'media-libs/tiff/files/tiff-4.5.0-CVE-2022-48281.patch') diff --git a/media-libs/tiff/files/tiff-4.5.0-CVE-2022-48281.patch b/media-libs/tiff/files/tiff-4.5.0-CVE-2022-48281.patch new file mode 100644 index 000000000000..e38d17df9cc2 --- /dev/null +++ b/media-libs/tiff/files/tiff-4.5.0-CVE-2022-48281.patch @@ -0,0 +1,14 @@ +https://gitlab.com/libtiff/libtiff/-/issues/488 +https://bugs.gentoo.org/891839 +--- a/tools/tiffcrop.c ++++ b/tools/tiffcrop.c +@@ -8591,7 +8591,7 @@ static int processCropSelections(struct + cropsize + NUM_BUFF_OVERSIZE_BYTES); + else + { +- prev_cropsize = seg_buffs[0].size; ++ prev_cropsize = seg_buffs[i].size; + if (prev_cropsize < cropsize) + { + next_buff = _TIFFrealloc( + -- cgit v1.2.3