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

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

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

libtiff/tif_predict.c:535:5: Assignment
533. 			unsigned  int b2 = cp[2];
534. 			do {
535. 				r1 = cp[3]; cp[3] = (unsigned char)((r1-r2)&0xff); r2 = r1;
         ^
536. 				g1 = cp[4]; cp[4] = (unsigned char)((g1-g2)&0xff); g2 = g1;
537. 				b1 = cp[5]; cp[5] = (unsigned char)((b1-b2)&0xff); b2 = b1;

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

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

libtiff/tif_predict.c:531:4: Assignment
529. 		if (stride == 3) {
530. 			unsigned int r1, g1, b1;
531. 			unsigned int r2 = cp[0];
        ^
532. 			unsigned int g2 = cp[1];
533. 			unsigned  int b2 = cp[2];

libtiff/tif_predict.c:535:17: Binary operation: ([0, max(255, *cp0)] - [0, max(255, *cp0)]):unsigned32
533. 			unsigned  int b2 = cp[2];
534. 			do {
535. 				r1 = cp[3]; cp[3] = (unsigned char)((r1-r2)&0xff); r2 = r1;
                     ^
536. 				g1 = cp[4]; cp[4] = (unsigned char)((g1-g2)&0xff); g2 = g1;
537. 				b1 = cp[5]; cp[5] = (unsigned char)((b1-b2)&0xff); b2 = b1;
