Skip to content

tiffcrop: Do not reuse input buffer for subsequent images. Fix issue 527

tiffcrop: Do not reuse input buffer for subsequent images. Fix issue 527

Reuse of read_buff within loadImage() from previous image is quite unsafe, because other functions (like rotateImage() etc.) reallocate that buffer with different size without updating the local prev_readsize value.

Closes #527 (closed)

Merge request reports