AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2010.08.22 13:26 "[Tiff] memory error", by Rajat Varma
2010.08.23 13:42 "Re: [Tiff] memory error", by Edward Lam
2010.08.23 15:02 "Re: [Tiff] memory error", by Rajat Varma
2010.08.23 15:15 "Re: [Tiff] memory error", by Scott Ribe
2010.08.23 15:17 "Re: [Tiff] memory error", by Bob Friesenhahn
2010.08.23 15:27 "Re: [Tiff] memory error", by Rajat Varma

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/