tools/tiff2ps.c:1506: error: Buffer Overrun L3
  Offset: [7, +oo] (⇐ [0, +oo] + 7) Size: [0, +oo] by call to `TIFFReverseBits`.

tools/tiff2ps.c:1453:3: Assignment
1451. 
1452. 	if (use_rawdata) {
1453. 		chunk_size = (tsize_t) bc[0];
        ^
1454. 		for (chunk_no = 1; chunk_no < num_chunks; chunk_no++)
1455. 			if ((tsize_t) bc[chunk_no] > chunk_size)

tools/tiff2ps.c:1463:30: Call
1461. 			chunk_size = TIFFStripSize(tif);
1462. 	}
1463. 	buf_data = (unsigned char *)_TIFFmalloc(chunk_size);
                                   ^
1464. 	if (!buf_data) {
1465. 		TIFFError(filename, "Can't alloc %lu bytes for %s.",

libtiff/tif_unix.c:253:1: Parameter `s`
  251. #endif
  252. 
  253. void*
       ^
  254. _TIFFmalloc(tmsize_t s)
  255. {

libtiff/tif_unix.c:256:10: Array declaration
  254. _TIFFmalloc(tmsize_t s)
  255. {
  256. 	return (malloc((size_t) s));
                ^
  257. }
  258. 

libtiff/tif_unix.c:256:2: Assignment
  254. _TIFFmalloc(tmsize_t s)
  255. {
  256. 	return (malloc((size_t) s));
        ^
  257. }
  258. 

tools/tiff2ps.c:1463:2: Assignment
1461. 			chunk_size = TIFFStripSize(tif);
1462. 	}
1463. 	buf_data = (unsigned char *)_TIFFmalloc(chunk_size);
       ^
1464. 	if (!buf_data) {
1465. 		TIFFError(filename, "Can't alloc %lu bytes for %s.",

tools/tiff2ps.c:1506:8: Call
1504. 						  buf_data, chunk_size);
1505. 			if (fillorder == FILLORDER_LSB2MSB)
1506. 			    TIFFReverseBits(buf_data, byte_count);
             ^
1507. 		} else {
1508. 			if (tiled_image)

libtiff/tif_swab.c:285:1: <Length trace>
283. }
284. 
285. void
     ^
286. TIFFReverseBits(uint8* cp, tmsize_t n)  
287. {

libtiff/tif_swab.c:285:1: Parameter `*cp`
  283. }
  284. 
  285. void
       ^
  286. TIFFReverseBits(uint8* cp, tmsize_t n)  
  287. {

libtiff/tif_swab.c:296:3: Array access: Offset: [7, +oo] (⇐ [0, +oo] + 7) Size: [0, +oo] by call to `TIFFReverseBits` 
  294. 		cp[5] = TIFFBitRevTable[cp[5]];
  295. 		cp[6] = TIFFBitRevTable[cp[6]];
  296. 		cp[7] = TIFFBitRevTable[cp[7]];
         ^
  297. 		cp += 8;
  298. 	}
