diff options
| author | Martin Jansa <martin.jansa@gmail.com> | 2022-11-28 20:01:51 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-07 15:02:45 +0000 |
| commit | 809591e49c51a3a362707c88d25ff0ae87cbaa00 (patch) | |
| tree | 9779c5e8e07634ed7525fff0ff2b068af4cbeeb5 /meta/recipes-multimedia/libtiff/tiff/CVE-2022-2953.patch | |
| parent | 69908c22b37afdf0209f31482231b0bb2c00d7ca (diff) | |
| download | poky-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.patch | 30 |
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 @@ | |||
| 1 | From 05ef5e05a0b8d18ab075e09b1ea349acc0035e67 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Su_Laus <sulau@freenet.de> | ||
| 3 | Date: Mon, 15 Aug 2022 22:11:03 +0200 | ||
| 4 | Subject: [PATCH] tiffcrop: disable incompatibility of -S | ||
| 5 | |||
| 1 | CVE: CVE-2022-2953 | 6 | CVE: CVE-2022-2953 |
| 2 | Upstream-Status: Backport | 7 | Upstream-Status: Backport |
| 3 | Signed-off-by: Ross Burton <ross.burton@arm.com> | 8 | Signed-off-by: Ross Burton <ross.burton@arm.com> |
| 4 | Signed-off-by: Zheng Qiu <zheng.qiu@windriver.com> | 9 | Signed-off-by: Zheng Qiu <zheng.qiu@windriver.com> |
| 5 | 10 | ||
| 6 | From 8fe3735942ea1d90d8cef843b55b3efe8ab6feaf Mon Sep 17 00:00:00 2001 | 11 | According to Richard Nolde |
| 7 | From: Su_Laus <sulau@freenet.de> | 12 | https://gitlab.com/libtiff/libtiff/-/issues/401#note_877637400 the |
| 8 | Date: Mon, 15 Aug 2022 22:11:03 +0200 | 13 | tiffcrop option "-S" is also mutually exclusive to the other crop |
| 9 | Subject: [PATCH] =?UTF-8?q?According=20to=20Richard=20Nolde=20https://gitl?= | 14 | options (-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.?= | ||
| 14 | MIME-Version: 1.0 | 16 | MIME-Version: 1.0 |
| 15 | Content-Type: text/plain; charset=UTF-8 | 17 | Content-Type: text/plain; charset=UTF-8 |
| 16 | Content-Transfer-Encoding: 8bit | 18 | Content-Transfer-Encoding: 8bit |
| @@ -18,12 +20,13 @@ Content-Transfer-Encoding: 8bit | |||
| 18 | This is now checked and ends tiffcrop if those arguments are not mutually exclusive. | 20 | This is now checked and ends tiffcrop if those arguments are not mutually exclusive. |
| 19 | 21 | ||
| 20 | This MR will fix the following tiffcrop issues: #349, #414, #422, #423, #424 | 22 | This 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 | ||
| 25 | diff --git a/tools/tiffcrop.c b/tools/tiffcrop.c | 28 | diff --git a/tools/tiffcrop.c b/tools/tiffcrop.c |
| 26 | index 90286a5e..c3b758ec 100644 | 29 | index 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 | -- | ||
| 86 | 2.34.1 | ||
| 87 | |||
