Bug#1083082: Potential division by zero in largetifftools

2025-02-23 Thread Christophe Deroulers
Dear Changgong Lee, Thank you for this report. This potential division by zero could only happen if the user of tiffmakemosaic provided a zero-width or a zero-length (or both) TIFF input image, which is illegal according to the standard LibTIFF. However, to be on the safe side, e.g. if

Bug#1083082: Potential division by zero in largetifftools

2024-10-01 Thread Changgong Lee
Package: largetifftools Version: 1.4.1-1 Dear authors, There exists a potential division by zero in project largetifftools In computeMaxPieceMemorySize function in tiffmakemosaic.c, 678 *hnpieces = (inimagewidth+outpiecewidth-1) / outpiecewidth;679 *vnpieces = (inimagelength+outpiecele