2018.04.23 19:11 "Re: [Tiff] libTiff Bug", by SM
Dimension of the image: 86016-by-89600
On Mon, Apr 23, 2018 at 1:06 PM, Rob Tillaart <rob.tillaart@gmail.com>
wrote:
> I'm not active on the TIFF list anymore but was just wondering what the
> values of width & height are
>
> On Mon, Apr 23, 2018 at 6:00 PM, SM <skypemesm@gmail.com> wrote:
>
Hi libTiff community,
libTiff library crashes for a particular large chunky tiled YCbCr image when using the RGBA interface.
I tried this with your latest libTiff version (4.0.9) and earlier versions as well.
#include <tiffio.h>
uint32 npixels=width*height;
uint32* raster=(uint32 *) _TIFFmalloc(npixels *sizeof(uint32));
TIFFReadRGBAImage(tif, width, height, raster, 0);}
Stack trace
Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7b8920b in?? () from /usr/lib/x86_64-linux-gnu/libtiff.so.5 (gdb) bt
>> #0 0x00007ffff7b8920b in?? () from /usr/lib/x86_64-linux-gnu/libt
>> iff.so.5
>> #1 0x00007ffff7b8eb77 in?? () from /usr/lib/x86_64-linux-gnu/libt
>> iff.so.5
#2 0x00007ffff7b91405 in TIFFReadRGBAImageOriented () from /usr/lib/ x86_64-linux-gnu/libtiff.so.5
#3 0x00000000004007e0 in main () at main.c:12 <http://p4dbmaster.mathworks.com/cgi-bin/changeView.cgi?CH=12>
Please let me know if this can be fixed and in which release it will be fixed?
>
>