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);