2013.04.11 01:33 "Re: [Tiff] Getting a crash after calling TIFFReadRGBAImageOriented()", by Bob Friesenhahn
Given that "raster" is a uint32 *" TIFFRGBAImageGet() receives an address that is 4*818176 before the start of raster. this bubbles down to gtStripContig() and then to putRGBUAcontig8bittile() which segfaults Eventually trying to put a uint32 value to that address.
I'm curious if I'm reading the man page wrong or I'm using this wrong or if the code is wrong.
It is clear that the manual page does not match the behavior of the code. Please send a patch to fix the problem (if you can).
> P.S. While stepping in gdb I found this amusing bit of code in gtStripContig():
toskew = -(int32)(w - w);
One too many edits?
These odd lines of code (similar code in two places) have been in place for a very long time and likely since they were first written.
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/