2010.08.23 15:17 "Re: [Tiff] memory error", by Bob Friesenhahn
On Mon, 23 Aug 2010, Rajat Varma wrote:
> {
> TIFF *in;
> toff_t* bc;
> uint32 rowspstrip,numrows,numcols;
> uint16 bits;
>
> in = TIFFOpen(argv[1],"r");
>
> TIFFGetField(in, TIFFTAG_STRIPBYTECOUNTS, &bc);
The above line looks suspicious to me. The manual page says that this should be type uint32** but you are passing toff_t**.
Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/