summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/libtiff/tiff/CVE-2022-2953.patch
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2022-11-28 20:01:51 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-07 15:02:45 +0000
commit809591e49c51a3a362707c88d25ff0ae87cbaa00 (patch)
tree9779c5e8e07634ed7525fff0ff2b068af4cbeeb5 /meta/recipes-multimedia/libtiff/tiff/CVE-2022-2953.patch
parent69908c22b37afdf0209f31482231b0bb2c00d7ca (diff)
downloadpoky-809591e49c51a3a362707c88d25ff0ae87cbaa00.tar.gz
tiff: refresh with devtool
* so that they can be easily and cleanly applied with "git am" * manually fix CVE-2022-2953.patch commit message not to use UTF-8 quotes and replace it with human readable text from original commit: https://gitlab.com/libtiff/libtiff/-/commit/8fe3735942ea1d90d8cef843b55b3efe8ab6feaf (From OE-Core rev: 535c814259ec63916debb17a326fa328c4f6237b) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/libtiff/tiff/CVE-2022-2953.patch')
-rw-r--r--meta/recipes-multimedia/libtiff/tiff/CVE-2022-2953.patch30
1 files changed, 15 insertions, 15 deletions
diff --git a/meta/recipes-multimedia/libtiff/tiff/CVE-2022-2953.patch b/meta/recipes-multimedia/libtiff/tiff/CVE-2022-2953.patch
index 3a3a915688..92906521b0 100644
--- a/meta/recipes-multimedia/libtiff/tiff/CVE-2022-2953.patch
+++ b/meta/recipes-multimedia/libtiff/tiff/CVE-2022-2953.patch
@@ -1,16 +1,18 @@
1From 05ef5e05a0b8d18ab075e09b1ea349acc0035e67 Mon Sep 17 00:00:00 2001
2From: Su_Laus <sulau@freenet.de>
3Date: Mon, 15 Aug 2022 22:11:03 +0200
4Subject: [PATCH] tiffcrop: disable incompatibility of -S
5
1CVE: CVE-2022-2953 6CVE: CVE-2022-2953
2Upstream-Status: Backport 7Upstream-Status: Backport
3Signed-off-by: Ross Burton <ross.burton@arm.com> 8Signed-off-by: Ross Burton <ross.burton@arm.com>
4Signed-off-by: Zheng Qiu <zheng.qiu@windriver.com> 9Signed-off-by: Zheng Qiu <zheng.qiu@windriver.com>
5 10
6From 8fe3735942ea1d90d8cef843b55b3efe8ab6feaf Mon Sep 17 00:00:00 2001 11According to Richard Nolde
7From: Su_Laus <sulau@freenet.de> 12https://gitlab.com/libtiff/libtiff/-/issues/401#note_877637400 the
8Date: Mon, 15 Aug 2022 22:11:03 +0200 13tiffcrop option "-S" is also mutually exclusive to the other crop
9Subject: [PATCH] =?UTF-8?q?According=20to=20Richard=20Nolde=20https://gitl?= 14options (-X|-Y), -Z and -z.
10 =?UTF-8?q?ab.com/libtiff/libtiff/-/issues/401#note=5F877637400=20the=20ti?= 15
11 =?UTF-8?q?ffcrop=20option=20=E2=80=9E-S=E2=80=9C=20is=20also=20mutually?=
12 =?UTF-8?q?=20exclusive=20to=20the=20other=20crop=20options=20(-X|-Y),=20-?=
13 =?UTF-8?q?Z=20and=20-z.?=
14MIME-Version: 1.0 16MIME-Version: 1.0
15Content-Type: text/plain; charset=UTF-8 17Content-Type: text/plain; charset=UTF-8
16Content-Transfer-Encoding: 8bit 18Content-Transfer-Encoding: 8bit
@@ -18,12 +20,13 @@ Content-Transfer-Encoding: 8bit
18This is now checked and ends tiffcrop if those arguments are not mutually exclusive. 20This is now checked and ends tiffcrop if those arguments are not mutually exclusive.
19 21
20This MR will fix the following tiffcrop issues: #349, #414, #422, #423, #424 22This MR will fix the following tiffcrop issues: #349, #414, #422, #423, #424
23
21--- 24---
22 tools/tiffcrop.c | 31 ++++++++++++++++--------------- 25 tools/tiffcrop.c | 25 +++++++++++++------------
23 1 file changed, 16 insertions(+), 15 deletions(-) 26 1 file changed, 13 insertions(+), 12 deletions(-)
24 27
25diff --git a/tools/tiffcrop.c b/tools/tiffcrop.c 28diff --git a/tools/tiffcrop.c b/tools/tiffcrop.c
26index 90286a5e..c3b758ec 100644 29index b596f9e..8af85c9 100644
27--- a/tools/tiffcrop.c 30--- a/tools/tiffcrop.c
28+++ b/tools/tiffcrop.c 31+++ b/tools/tiffcrop.c
29@@ -173,12 +173,12 @@ static char tiffcrop_rev_date[] = "02-09-2022"; 32@@ -173,12 +173,12 @@ static char tiffcrop_rev_date[] = "02-09-2022";
@@ -63,7 +66,7 @@ index 90286a5e..c3b758ec 100644
63 " In no case should the options be applied to a given selection successively.\n" 66 " In no case should the options be applied to a given selection successively.\n"
64 "\n" 67 "\n"
65 ; 68 ;
66@@ -2131,13 +2131,14 @@ void process_command_opts (int argc, char *argv[], char *mp, char *mode, uint32 69@@ -2133,13 +2133,14 @@ void process_command_opts (int argc, char *argv[], char *mp, char *mode, uint32
67 /*NOTREACHED*/ 70 /*NOTREACHED*/
68 } 71 }
69 } 72 }
@@ -82,6 +85,3 @@ index 90286a5e..c3b758ec 100644
82 exit(EXIT_FAILURE); 85 exit(EXIT_FAILURE);
83 } 86 }
84 } /* end process_command_opts */ 87 } /* end process_command_opts */
85--
862.34.1
87