tools/tiff2ps.c:1558: error: Integer Overflow L2
  ([0, 4294967294] + [0, 4294967294]):unsigned32 by call to `psMaskImage`.

tools/tiff2ps.c:1486:1: Parameter `tif->tif_dir.td_imagelength`
1484.  */
1485. 
1486. int TIFF2PS(FILE* fd, TIFF* tif, double pgwidth, double pgheight, double lm, double bm, int center)
      ^
1487.   {
1488.   uint32 pixwidth = 0, pixheight = 0;  /* Image width and height in pixels */

tools/tiff2ps.c:1506:24: Call
1504.   /* Consolidated all the tag information into one code segment, Richard Nolde */
1505.   do {
1506.      tf_numberstrips = TIFFNumberOfStrips(tif);
                             ^
1507.      TIFFGetFieldDefaulted(tif, TIFFTAG_ROWSPERSTRIP, &tf_rowsperstrip);
1508.      TIFFGetFieldDefaulted(tif, TIFFTAG_BITSPERSAMPLE, &bitspersample);

libtiff/tif_strip.c:58:1: Parameter `tif->tif_dir.td_imagelength`
  56.  * Compute how many strips are in an image.
  57.  */
  58. uint32
      ^
  59. TIFFNumberOfStrips(TIFF* tif)
  60. {

tools/tiff2ps.c:1558:15: Call
1556.         if ((maxPageHeight) || (maxPageWidth)) /* used -H or -W  option */
1557.            {
1558.           if (psMaskImage(fd, tif, rotation, center, &npages, pixwidth, pixheight,
                    ^
1559.                           left_offset, bottom_offset, pgwidth, pgheight,
1560.                            pswidth, psheight, scale) < 0)

tools/tiff2ps.c:1186:1: Parameter `tif->tif_dir.td_imagelength`
  1184.  * by the maxPageHeight or maxPageWidth options.
  1185.  */
  1186. int psMaskImage(FILE *fd, TIFF *tif, int rotation, int center,
        ^
  1187.                 int *npages, double pixwidth, double pixheight,
  1188.                double left_margin, double bottom_margin,

tools/tiff2ps.c:1235:8: Call
  1233.         return (-1);
  1234.         }
  1235.        PSpage(fd, tif, pixwidth, pixheight);
               ^
  1236.        fprintf(fd, "end\n");
  1237.        fprintf(fd, "grestore\n");

tools/tiff2ps.c:2335:1: Parameter `tif->tif_dir.td_imagelength`
    2333. }
    2334. 
    2335. void
          ^
    2336. PSpage(FILE* fd, TIFF* tif, uint32 w, uint32 h)
    2337. {

tools/tiff2ps.c:2343:28: Call
    2341. 		imageOp = "imagemask";
    2342. 
    2343. 	if ((level2 || level3) && PS_Lvl2page(fd, tif, w, h))
                                     ^
    2344. 		return;
    2345. 	ps_bytesperrow = tf_bytesperrow - (extrasamples * bitspersample / 8)*w;

tools/tiff2ps.c:2146:1: Parameter `tif->tif_dir.td_imagelength`
      2144. #define MAXLINE		36
      2145. 
      2146. int
            ^
      2147. PS_Lvl2page(FILE* fd, TIFF* tif, uint32 w, uint32 h)
      2148. {

tools/tiff2ps.c:2162:16: Call
      2160. 
      2161. 	PS_Lvl2colorspace(fd, tif);
      2162. 	use_rawdata = PS_Lvl2ImageDict(fd, tif, w, h);
                           ^
      2163. 
      2164. /* See http://bugzilla.remotesensing.org/show_bug.cgi?id=80 */

tools/tiff2ps.c:1795:1: Parameter `tif->tif_dir.td_imagelength`
        1793. }
        1794. 
        1795. static int
              ^
        1796. PS_Lvl2ImageDict(FILE* fd, TIFF* tif, uint32 w, uint32 h)
        1797. {

tools/tiff2ps.c:1814:18: Call
        1812. 	tile_height = h;
        1813. 	if (TIFFIsTiled(tif)) {
        1814. 		repeat_count = TIFFNumberOfTiles(tif);
                               ^
        1815. 		TIFFGetField(tif, TIFFTAG_TILEWIDTH, &tile_width);
        1816. 		TIFFGetField(tif, TIFFTAG_TILELENGTH, &tile_height);

libtiff/tif_tile.c:112:1: <LHS trace>
110.  * Compute how many tiles are in an image.
111.  */
112. uint32
     ^
113. TIFFNumberOfTiles(TIFF* tif)
114. {

libtiff/tif_tile.c:112:1: Parameter `tif->tif_dir.td_imagelength`
          110.  * Compute how many tiles are in an image.
          111.  */
          112. uint32
               ^
          113. TIFFNumberOfTiles(TIFF* tif)
          114. {

libtiff/tif_tile.c:112:1: <RHS trace>
110.  * Compute how many tiles are in an image.
111.  */
112. uint32
     ^
113. TIFFNumberOfTiles(TIFF* tif)
114. {

libtiff/tif_tile.c:112:1: Parameter `tif->tif_dir.td_imagelength`
          110.  * Compute how many tiles are in an image.
          111.  */
          112. uint32
               ^
          113. TIFFNumberOfTiles(TIFF* tif)
          114. {

libtiff/tif_tile.c:129:6: Binary operation: ([0, 4294967294] + [0, 4294967294]):unsigned32 by call to `psMaskImage` 
          127. 	ntiles = (dx == 0 || dy == 0 || dz == 0) ? 0 :
          128. 	    _TIFFMultiply32(tif, _TIFFMultiply32(tif, TIFFhowmany_32(td->td_imagewidth, dx),
          129. 	    TIFFhowmany_32(td->td_imagelength, dy),
                    ^
          130. 	    "TIFFNumberOfTiles"),
          131. 	    TIFFhowmany_32(td->td_imagedepth, dz), "TIFFNumberOfTiles");
