diff options
author | akash hadke <akash.hadke@kpit.com> | 2021-05-24 13:06:57 +0530 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-06-03 16:30:55 +0100 |
commit | a59a11eb566abea85cb0527291b079de6f20bb59 (patch) | |
tree | 65d20e19284901af3b10bfea2888f99e54b7c7ca /meta/recipes-multimedia/libtiff/files/002_support_patch_for_CVE-2020-35521_and_CVE-2020-35522.patch | |
parent | 0b6e24d0ddb407127f6310fac5380cf7d3343826 (diff) | |
download | poky-a59a11eb566abea85cb0527291b079de6f20bb59.tar.gz |
tiff: Add fix for CVE-2020-35521 and CVE-2020-35522
Added fix for CVE-2020-35521 and CVE-2020-35522
Link: https://gitlab.com/libtiff/libtiff/-/commit/b5a935d96b21cda0f434230cdf8ca958cd8b4eef.patch
Added below support patches for CVE-2020-35521 and CVE-2020-35522
1. 001_support_patch_for_CVE-2020-35521_and_CVE-2020-35522.patch
Link: https://gitlab.com/libtiff/libtiff/-/commit/02875964eba5c4a2ea98c41562835428214adfe7.patch
2. 002_support_patch_for_CVE-2020-35521_and_CVE-2020-35522.patch
Link: https://gitlab.com/libtiff/libtiff/-/commit/ca70b5e702b9f503333344b2d46691de9feae84e.patch
(From OE-Core rev: 03a65159093e0b2df4bc867c873b5c43721b9a9c)
Signed-off-by: akash hadke <akash.hadke@kpit.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/files/002_support_patch_for_CVE-2020-35521_and_CVE-2020-35522.patch')
-rw-r--r-- | meta/recipes-multimedia/libtiff/files/002_support_patch_for_CVE-2020-35521_and_CVE-2020-35522.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/libtiff/files/002_support_patch_for_CVE-2020-35521_and_CVE-2020-35522.patch b/meta/recipes-multimedia/libtiff/files/002_support_patch_for_CVE-2020-35521_and_CVE-2020-35522.patch new file mode 100644 index 0000000000..b6e1842a54 --- /dev/null +++ b/meta/recipes-multimedia/libtiff/files/002_support_patch_for_CVE-2020-35521_and_CVE-2020-35522.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From ca70b5e702b9f503333344b2d46691de9feae84e Mon Sep 17 00:00:00 2001 | ||
2 | From: Even Rouault <even.rouault@spatialys.com> | ||
3 | Date: Sat, 3 Oct 2020 18:16:27 +0200 | ||
4 | Subject: [PATCH] tiff2rgba.c: fix -Wold-style-declaration warning | ||
5 | |||
6 | Signed-off-by: akash hadke <akash.hadke@kpit.com> | ||
7 | --- | ||
8 | tools/tiff2rgba.c | 2 +- | ||
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
10 | --- | ||
11 | Upstream-Status: Backport [https://gitlab.com/libtiff/libtiff/-/commit/ca70b5e702b9f503333344b2d46691de9feae84e.patch] | ||
12 | --- | ||
13 | diff --git a/tools/tiff2rgba.c b/tools/tiff2rgba.c | ||
14 | index ef643653..fbc383aa 100644 | ||
15 | --- a/tools/tiff2rgba.c | ||
16 | +++ b/tools/tiff2rgba.c | ||
17 | @@ -538,7 +538,7 @@ tiffcvt(TIFF* in, TIFF* out) | ||
18 | return( cvt_whole_image( in, out ) ); | ||
19 | } | ||
20 | |||
21 | -const static char* stuff[] = { | ||
22 | +static const char* stuff[] = { | ||
23 | "usage: tiff2rgba [-c comp] [-r rows] [-b] [-n] [-8] input... output", | ||
24 | "where comp is one of the following compression algorithms:", | ||
25 | " jpeg\t\tJPEG encoding", | ||
26 | -- | ||
27 | GitLab | ||