libtiff/tif_jpeg.c:752: error: Integer Overflow L2
  ([1, +oo] - [0, 2147483647]):unsigned64 by call to `JPEGFixupTagsSubsamplingReadByte`.

libtiff/tif_jpeg.c:743:1: Parameter `data->filebytesleft`
741. }
742. 
743. static int
     ^
744. JPEGFixupTagsSubsamplingSec(struct JPEGFixupTagsSubsamplingData* data)
745. {

libtiff/tif_jpeg.c:752:9: Call
750. 		while (1)
751. 		{
752. 			if (!JPEGFixupTagsSubsamplingReadByte(data,&m))
             ^
753. 				return(0);
754. 			if (m==255)

libtiff/tif_jpeg.c:855:1: <LHS trace>
853. }
854. 
855. static int
     ^
856. JPEGFixupTagsSubsamplingReadByte(struct JPEGFixupTagsSubsamplingData* data, uint8* result)
857. {

libtiff/tif_jpeg.c:855:1: Parameter `data->filebytesleft`
  853. }
  854. 
  855. static int
       ^
  856. JPEGFixupTagsSubsamplingReadByte(struct JPEGFixupTagsSubsamplingData* data, uint8* result)
  857. {

libtiff/tif_jpeg.c:872:7: <RHS trace>
870. 			m=(uint32)data->filebytesleft;
871. 		assert(m<0x80000000UL);
872. 		if (TIFFReadFile(data->tif,data->buffer,(tmsize_t)m)!=(tmsize_t)m)
           ^
873. 			return(0);
874. 		data->buffercurrentbyte=data->buffer;

libtiff/tif_jpeg.c:872:7: Unknown value from: non-const function
  870. 			m=(uint32)data->filebytesleft;
  871. 		assert(m<0x80000000UL);
  872. 		if (TIFFReadFile(data->tif,data->buffer,(tmsize_t)m)!=(tmsize_t)m)
             ^
  873. 			return(0);
  874. 		data->buffercurrentbyte=data->buffer;

libtiff/tif_jpeg.c:877:3: Binary operation: ([1, +oo] - [0, 2147483647]):unsigned64 by call to `JPEGFixupTagsSubsamplingReadByte` 
  875. 		data->bufferbytesleft=m;
  876. 		data->fileoffset+=m;
  877. 		data->filebytesleft-=m;
         ^
  878. 	}
  879. 	*result=*data->buffercurrentbyte;
