libtiff/tif_predict.c:523: error: Integer Overflow L2
  ([0, max(65535, `*cp0`)] - [0, max(65535, `*cp0`)]):unsigned32.

libtiff/tif_predict.c:509:1: <LHS trace>
507. }
508. 
509. static void
     ^
510. horDiff16(TIFF* tif, uint8* cp0, tmsize_t cc)
511. {

libtiff/tif_predict.c:509:1: Parameter `*cp0`
507. }
508. 
509. static void
     ^
510. horDiff16(TIFF* tif, uint8* cp0, tmsize_t cc)
511. {

libtiff/tif_predict.c:509:1: <RHS trace>
507. }
508. 
509. static void
     ^
510. horDiff16(TIFF* tif, uint8* cp0, tmsize_t cc)
511. {

libtiff/tif_predict.c:509:1: Parameter `*cp0`
507. }
508. 
509. static void
     ^
510. horDiff16(TIFF* tif, uint8* cp0, tmsize_t cc)
511. {

libtiff/tif_predict.c:523:4: Binary operation: ([0, max(65535, *cp0)] - [0, max(65535, *cp0)]):unsigned32
521. 		wp += wc - 1;
522. 		do {
523. 			REPEAT4(stride, wp[stride] = (uint16)(((unsigned int)wp[stride] - (unsigned int)wp[0]) & 0xffff); wp--)
        ^
524. 			wc -= stride;
525. 		} while (wc > 0);
