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

libtiff/tif_getimage.c:1344:1: <LHS trace>
1342.  * (known to have Map == NULL)
1343.  */
1344. DECLAREContigPutFunc(putRGBUAcontig16bittile)
      ^
1345. {
1346. 	int samplesperpixel = img->samplesperpixel;

libtiff/tif_getimage.c:1344:1: Parameter `w`
1342.  * (known to have Map == NULL)
1343.  */
1344. DECLAREContigPutFunc(putRGBUAcontig16bittile)
      ^
1345. {
1346. 	int samplesperpixel = img->samplesperpixel;

libtiff/tif_getimage.c:1353:8: Assignment
1351. 		uint32 r,g,b,a;
1352. 		uint8* m;
1353. 		for (x = w; x-- > 0;) {
             ^
1354. 			a = img->Bitdepth16To8[wp[3]];
1355. 			m = img->UaToAa+(a<<8);

libtiff/tif_getimage.c:1353:15: Binary operation: ([0, w] - 1):unsigned32
1351. 		uint32 r,g,b,a;
1352. 		uint8* m;
1353. 		for (x = w; x-- > 0;) {
                    ^
1354. 			a = img->Bitdepth16To8[wp[3]];
1355. 			m = img->UaToAa+(a<<8);

DECLAREContigPutFunc(putRGBUAcontig16bittile)
{
	int samplesperpixel = img->samplesperpixel;
	uint16 *wp = (uint16 *)pp;
	(void) y;
	fromskew *= samplesperpixel;
	while (h-- > 0) {
		uint32 r,g,b,a;
		uint8* m;
		for (x = w; x-- > 0;) {
			a = img->Bitdepth16To8[wp[3]];
			m = img->UaToAa+(a<<8);
			r = m[img->Bitdepth16To8[wp[0]]];
			g = m[img->Bitdepth16To8[wp[1]]];
			b = m[img->Bitdepth16To8[wp[2]]];
			*cp++ = PACK4(r,g,b,a);
			wp += samplesperpixel;
		}
		cp += toskew;
		wp += fromskew;
	}
}
['DECLAREContigPutFunc(putRGBUAcontig16bittile)\n{\n\tint samplesperpixel = img->samplesperpixel;\n\tuint16 *wp = (uint16 *)pp;\n\t(void) y;\n\tfromskew *= samplesperpixel;\n\twhile (h-- > 0) {\n\t\tuint32 r,g,b,a;\n\t\tuint8* m;\n\t\tfor (x = w; x-- > 0;) {\n\t\t\ta = img->Bitdepth16To8[wp[3]];\n\t\t\tm = img->UaToAa+(a<<8);\n\t\t\tr = m[img->Bitdepth16To8[wp[0]]];\n\t\t\tg = m[img->Bitdepth16To8[wp[1]]];\n\t\t\tb = m[img->Bitdepth16To8[wp[2]]];\n\t\t\t*cp++ = PACK4(r,g,b,a);\n\t\t\twp += samplesperpixel;\n\t\t}\n\t\tcp += toskew;\n\t\twp += fromskew;\n\t}\n}']