libtiff/tif_getimage.c:1147: error: Integer Overflow L2
  ([0, `w`] - 1):unsigned32.

libtiff/tif_getimage.c:1140:1: <LHS trace>
1138.  * 8-bit greyscale => colormap/RGB
1139.  */
1140. DECLAREContigPutFunc(putgreytile)
      ^
1141. {
1142.     int samplesperpixel = img->samplesperpixel;

libtiff/tif_getimage.c:1140:1: Parameter `w`
1138.  * 8-bit greyscale => colormap/RGB
1139.  */
1140. DECLAREContigPutFunc(putgreytile)
      ^
1141. {
1142.     int samplesperpixel = img->samplesperpixel;

libtiff/tif_getimage.c:1147:7: Assignment
1145.     (void) y;
1146.     while (h-- > 0) {
1147. 	for (x = w; x-- > 0;)
            ^
1148.         {
1149. 	    *cp++ = BWmap[*pp][0];

libtiff/tif_getimage.c:1147:14: Binary operation: ([0, w] - 1):unsigned32
1145.     (void) y;
1146.     while (h-- > 0) {
1147. 	for (x = w; x-- > 0;)
                   ^
1148.         {
1149. 	    *cp++ = BWmap[*pp][0];
