diff options
Diffstat (limited to 'meta/recipes-multimedia/libtiff/tiff/CVE-2025-8176-0003.patch')
-rw-r--r-- | meta/recipes-multimedia/libtiff/tiff/CVE-2025-8176-0003.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/libtiff/tiff/CVE-2025-8176-0003.patch b/meta/recipes-multimedia/libtiff/tiff/CVE-2025-8176-0003.patch new file mode 100644 index 0000000000..b5ee36c5b8 --- /dev/null +++ b/meta/recipes-multimedia/libtiff/tiff/CVE-2025-8176-0003.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From ecc4ddbf1f0fed7957d1e20361e37f01907898e0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Lee Howard <faxguy@howardsilvan.com> | ||
3 | Date: Sat, 24 May 2025 21:38:09 -0700 | ||
4 | Subject: [PATCH] conflict resolution | ||
5 | |||
6 | CVE: CVE-2025-8176 | ||
7 | Upstream-Status: Backport [https://gitlab.com/libtiff/libtiff/-/commit/ecc4ddbf1f0fed7957d1e20361e37f01907898e0] | ||
8 | |||
9 | Signed-off-by: Yogita Urade <yogita.urade@windriver.com> | ||
10 | --- | ||
11 | tools/tiffmedian.c | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/tools/tiffmedian.c b/tools/tiffmedian.c | ||
15 | index a0b4b5d..ca1c51f 100644 | ||
16 | --- a/tools/tiffmedian.c | ||
17 | +++ b/tools/tiffmedian.c | ||
18 | @@ -847,7 +847,7 @@ quant_fsdither(TIFF* in, TIFF* out) | ||
19 | outline = (unsigned char *) _TIFFmalloc(TIFFScanlineSize(out)); | ||
20 | |||
21 | GetInputLine(in, 0, goto bad); /* get first line */ | ||
22 | - for (i = 0; i <= imagelength; ++i) { | ||
23 | + for (i = 0; i < imagelength; ++i) { | ||
24 | SWAP(short *, thisline, nextline); | ||
25 | lastline = (i >= imax); | ||
26 | if (i <= imax) | ||
27 | -- | ||
28 | 2.40.0 | ||