tools/tiff2pdf.c:5497: error: Integer Overflow L2
  ([0, +oo] - 1):unsigned32 by call to `t2p_read_tiff_data`.

tools/tiff2pdf.c:5458:1: Parameter `t2p->tiff_pages->page_extra`
5456. */
5457. 
5458. tsize_t t2p_write_pdf(T2P* t2p, TIFF* input, TIFF* output){
      ^
5459. 
5460. 	tsize_t written=0;

tools/tiff2pdf.c:5497:3: Call
5495. 	written += t2p_write_pdf_obj_end(output);
5496. 	for(t2p->pdf_page=0;t2p->pdf_page<t2p->tiff_pagecount;t2p->pdf_page++){
5497. 		t2p_read_tiff_data(t2p, input);
        ^
5498. 		if(t2p->t2p_error!=T2P_ERR_OK){return(0);}
5499. 		t2p->pdf_xrefoffsets[t2p->pdf_xrefcount++]=written;

tools/tiff2pdf.c:1292:1: <LHS trace>
1290. */
1291. 
1292. void t2p_read_tiff_data(T2P* t2p, TIFF* input){
      ^
1293. 
1294. 	int i=0;

tools/tiff2pdf.c:1292:1: Parameter `t2p->tiff_pages->page_extra`
  1290. */
  1291. 
  1292. void t2p_read_tiff_data(T2P* t2p, TIFF* input){
        ^
  1293. 
  1294. 	int i=0;

tools/tiff2pdf.c:1823:4: Binary operation: ([0, +oo] - 1):unsigned32 by call to `t2p_read_tiff_data` 
  1821. 			t2p->pdf_sample|=T2P_SAMPLE_REALIZE_PALETTE;
  1822. 			t2p->pdf_colorspace ^= T2P_CS_PALETTE;
  1823. 			t2p->tiff_pages[t2p->pdf_page].page_extra--;
           ^
  1824. 		}
  1825. 	}
