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

libtiff/tif_getimage.c:1637:1: <LHS trace>
1635.  * 8-bit unpacked samples => RGBA w/ unassociated alpha
1636.  */
1637. DECLARESepPutFunc(putRGBUAseparate8bittile)
      ^
1638. {
1639. 	(void) img; (void) y;

libtiff/tif_getimage.c:1637:1: Parameter `w`
1635.  * 8-bit unpacked samples => RGBA w/ unassociated alpha
1636.  */
1637. DECLARESepPutFunc(putRGBUAseparate8bittile)
      ^
1638. {
1639. 	(void) img; (void) y;

libtiff/tif_getimage.c:1643:8: Assignment
1641. 		uint32 rv, gv, bv, av;
1642. 		uint8* m;
1643. 		for (x = w; x-- > 0;) {
             ^
1644. 			av = *a++;
1645. 			m = img->UaToAa+((size_t) av<<8);

libtiff/tif_getimage.c:1643:15: Binary operation: ([0, w] - 1):unsigned32
1641. 		uint32 rv, gv, bv, av;
1642. 		uint8* m;
1643. 		for (x = w; x-- > 0;) {
                    ^
1644. 			av = *a++;
1645. 			m = img->UaToAa+((size_t) av<<8);

DECLARESepPutFunc(putRGBUAseparate8bittile)
{
	(void) img; (void) y;
	while (h-- > 0) {
		uint32 rv, gv, bv, av;
		uint8* m;
		for (x = w; x-- > 0;) {
			av = *a++;
			m = img->UaToAa+((size_t) av<<8);
			rv = m[*r++];
			gv = m[*g++];
			bv = m[*b++];
			*cp++ = PACK4(rv,gv,bv,av);
		}
		SKEW4(r, g, b, a, fromskew);
		cp += toskew;
	}
}
['DECLARESepPutFunc(putRGBUAseparate8bittile)\n{\n\t(void) img; (void) y;\n\twhile (h-- > 0) {\n\t\tuint32 rv, gv, bv, av;\n\t\tuint8* m;\n\t\tfor (x = w; x-- > 0;) {\n\t\t\tav = *a++;\n\t\t\tm = img->UaToAa+((size_t) av<<8);\n\t\t\trv = m[*r++];\n\t\t\tgv = m[*g++];\n\t\t\tbv = m[*b++];\n\t\t\t*cp++ = PACK4(rv,gv,bv,av);\n\t\t}\n\t\tSKEW4(r, g, b, a, fromskew);\n\t\tcp += toskew;\n\t}\n}']