8857c133f6
* CVE-2022-48281 [bsc#1207413] + tiff-CVE-2022-48281.patch OBS-URL: https://build.opensuse.org/package/show/graphics/tiff?expand=0&rev=166
14 lines
542 B
Diff
14 lines
542 B
Diff
Index: tiff-4.5.0/tools/tiffcrop.c
|
|
===================================================================
|
|
--- tiff-4.5.0.orig/tools/tiffcrop.c
|
|
+++ tiff-4.5.0/tools/tiffcrop.c
|
|
@@ -8591,7 +8591,7 @@ static int processCropSelections(struct
|
|
cropsize + NUM_BUFF_OVERSIZE_BYTES);
|
|
else
|
|
{
|
|
- prev_cropsize = seg_buffs[0].size;
|
|
+ prev_cropsize = seg_buffs[i].size;
|
|
if (prev_cropsize < cropsize)
|
|
{
|
|
next_buff = _TIFFrealloc(
|