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

libtiff/tif_getimage.c:1372:1: <LHS trace>
1370.  * NB: The conversion of CMYK->RGB is *very* crude.
1371.  */
1372. DECLAREContigPutFunc(putRGBcontig8bitCMYKtile)
      ^
1373. {
1374.     int samplesperpixel = img->samplesperpixel;

libtiff/tif_getimage.c:1372:1: Parameter `h`
1370.  * NB: The conversion of CMYK->RGB is *very* crude.
1371.  */
1372. DECLAREContigPutFunc(putRGBcontig8bitCMYKtile)
      ^
1373. {
1374.     int samplesperpixel = img->samplesperpixel;

libtiff/tif_getimage.c:1379:12: Binary operation: ([0, h] - 1):unsigned32
1377.     (void) x; (void) y;
1378.     fromskew *= samplesperpixel;
1379.     while (h-- > 0) {
                 ^
1380. 	UNROLL8(w, NOP,
1381. 	    k = 255 - pp[3];

DECLAREContigPutFunc(putRGBcontig8bitCMYKtile)
{
    int samplesperpixel = img->samplesperpixel;
    uint16 r, g, b, k;
    (void) x; (void) y;
    fromskew *= samplesperpixel;
    while (h-- > 0) {
	UNROLL8(w, NOP,
	    k = 255 - pp[3];
	    r = (k*(255-pp[0]))/255;
	    g = (k*(255-pp[1]))/255;
	    b = (k*(255-pp[2]))/255;
	    *cp++ = PACK(r, g, b);
	    pp += samplesperpixel);
	cp += toskew;
	pp += fromskew;
    }
}
['DECLAREContigPutFunc(putRGBcontig8bitCMYKtile)\n{\n    int samplesperpixel = img->samplesperpixel;\n    uint16 r, g, b, k;\n    (void) x; (void) y;\n    fromskew *= samplesperpixel;\n    while (h-- > 0) {\n\tUNROLL8(w, NOP,\n\t    k = 255 - pp[3];\n\t    r = (k*(255-pp[0]))/255;\n\t    g = (k*(255-pp[1]))/255;\n\t    b = (k*(255-pp[2]))/255;\n\t    *cp++ = PACK(r, g, b);\n\t    pp += samplesperpixel);\n\tcp += toskew;\n\tpp += fromskew;\n    }\n}']