diff options
author | Ørjan Malde <red@foxi.me> | 2023-02-01 12:15:39 +0100 |
---|---|---|
committer | Ørjan Malde <red@foxi.me> | 2023-02-01 12:15:39 +0100 |
commit | 74cf8e266c686d23294d8904b397b4aaea1a345f (patch) | |
tree | 362568b4ae583e1bcc1d7e416a0f2fc8559300ef /patches | |
parent | 51df209a95a66dbfc070c24f180254c6b1e4241c (diff) | |
download | midipix_build-74cf8e266c686d23294d8904b397b4aaea1a345f.tar.bz2 midipix_build-74cf8e266c686d23294d8904b397b4aaea1a345f.tar.xz |
patches/tiff/CVE-2022-48281.patch: new patch.
Signed-off-by: Ørjan Malde <red@foxi.me>
Diffstat (limited to 'patches')
-rw-r--r-- | patches/tiff/CVE-2022-48281.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/patches/tiff/CVE-2022-48281.patch b/patches/tiff/CVE-2022-48281.patch new file mode 100644 index 00000000..d3cf3cc1 --- /dev/null +++ b/patches/tiff/CVE-2022-48281.patch @@ -0,0 +1,25 @@ +From 97d65859bc29ee334012e9c73022d8a8e55ed586 Mon Sep 17 00:00:00 2001 +From: Su Laus <sulau@freenet.de> +Date: Sat, 21 Jan 2023 15:58:10 +0000 +Subject: [PATCH] tiffcrop: Correct simple copy paste error. Fix #488. + +--- + tools/tiffcrop.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/tiffcrop.c b/tools/tiffcrop.c +index 14fa18da..7db69883 100644 +--- a/tools/tiffcrop.c ++++ b/tools/tiffcrop.c +@@ -8591,7 +8591,7 @@ static int processCropSelections(struct image_data *image, + 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( +-- +GitLab + |