From 491b3c94fa0971a03b7fc7e25dcfacbc8b1b39ea Mon Sep 17 00:00:00 2001 From: Michal Hlavinka Date: Wed, 30 Apr 2025 13:36:25 +0200 Subject: [PATCH] update patch to match older api Resolves: RHEL-17337 --- libtiff-4.4.0-CVE-2023-52356.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libtiff-4.4.0-CVE-2023-52356.patch b/libtiff-4.4.0-CVE-2023-52356.patch index 262d145..8fc4344 100644 --- a/libtiff-4.4.0-CVE-2023-52356.patch +++ b/libtiff-4.4.0-CVE-2023-52356.patch @@ -18,7 +18,7 @@ index 41f7dfd77..6fee35db2 100644 + if (row >= img.height) + { -+ TIFFErrorExtR(tif, TIFFFileName(tif), ++ TIFFErrorExt(tif->tif_clientdata, TIFFFileName(tif), + "Invalid row passed to TIFFReadRGBAStrip()."); + TIFFRGBAImageEnd(&img); + return (0); @@ -33,7 +33,7 @@ index 41f7dfd77..6fee35db2 100644 + if (col >= img.width || row >= img.height) + { -+ TIFFErrorExtR(tif, TIFFFileName(tif), ++ TIFFErrorExt(tif->tif_clientdata, TIFFFileName(tif), + "Invalid row/col passed to TIFFReadRGBATile()."); + TIFFRGBAImageEnd(&img); + return (0);