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

libtiff/tif_getimage.c:1546:1: <LHS trace>
1544.  * 8-bit packed CIE L*a*b 1976 samples => RGB
1545.  */
1546. DECLAREContigPutFunc(putcontig8bitCIELab)
      ^
1547. {
1548. 	float X, Y, Z;

libtiff/tif_getimage.c:1546:1: Parameter `h`
1544.  * 8-bit packed CIE L*a*b 1976 samples => RGB
1545.  */
1546. DECLAREContigPutFunc(putcontig8bitCIELab)
      ^
1547. {
1548. 	float X, Y, Z;

libtiff/tif_getimage.c:1552:9: Binary operation: ([0, h] - 1):unsigned32
1550. 	(void) y;
1551. 	fromskew *= 3;
1552. 	while (h-- > 0) {
              ^
1553. 		for (x = w; x-- > 0;) {
1554. 			TIFFCIELabToXYZ(img->cielab,

DECLAREContigPutFunc(putcontig8bitCIELab)
{
	float X, Y, Z;
	uint32 r, g, b;
	(void) y;
	fromskew *= 3;
	while (h-- > 0) {
		for (x = w; x-- > 0;) {
			TIFFCIELabToXYZ(img->cielab,
					(unsigned char)pp[0],
					(signed char)pp[1],
					(signed char)pp[2],
					&X, &Y, &Z);
			TIFFXYZToRGB(img->cielab, X, Y, Z, &r, &g, &b);
			*cp++ = PACK(r, g, b);
			pp += 3;
		}
		cp += toskew;
		pp += fromskew;
	}
}
['DECLAREContigPutFunc(putcontig8bitCIELab)\n{\n\tfloat X, Y, Z;\n\tuint32 r, g, b;\n\t(void) y;\n\tfromskew *= 3;\n\twhile (h-- > 0) {\n\t\tfor (x = w; x-- > 0;) {\n\t\t\tTIFFCIELabToXYZ(img->cielab,\n\t\t\t\t\t(unsigned char)pp[0],\n\t\t\t\t\t(signed char)pp[1],\n\t\t\t\t\t(signed char)pp[2],\n\t\t\t\t\t&X, &Y, &Z);\n\t\t\tTIFFXYZToRGB(img->cielab, X, Y, Z, &r, &g, &b);\n\t\t\t*cp++ = PACK(r, g, b);\n\t\t\tpp += 3;\n\t\t}\n\t\tcp += toskew;\n\t\tpp += fromskew;\n\t}\n}']