tools/tiff2ps.c:1528: error: Buffer Overrun L3
  Offset: [1, +oo] Size: [0, +oo] by call to `PS_FlipBytes`.

tools/tiff2ps.c:1509:18: Call
1507. 		} else {
1508. 			if (tiled_image)
1509. 				byte_count = TIFFReadEncodedTile(tif,
                       ^
1510. 						chunk_no, buf_data,
1511. 						chunk_size);

libtiff/tif_read.c:436:3: Assignment
  434. 
  435. 	if (!TIFFCheckRead(tif, 1))
  436. 		return ((tmsize_t)(-1));
         ^
  437. 	if (tile >= td->td_nstrips) {
  438. 		TIFFErrorExt(tif->tif_clientdata, module,

tools/tiff2ps.c:1509:5: Assignment
1507. 		} else {
1508. 			if (tiled_image)
1509. 				byte_count = TIFFReadEncodedTile(tif,
          ^
1510. 						chunk_no, buf_data,
1511. 						chunk_size);

tools/tiff2ps.c:1528:4: Call
1526. 		 */
1527. 		if (bitspersample == 16 && !TIFFIsBigEndian(tif)) {
1528. 			PS_FlipBytes(buf_data, byte_count);
         ^
1529. 		}
1530. 		/*

tools/tiff2ps.c:1410:7: <Offset trace>
1408. 	count--;
1409. 
1410. 	for (i = 0; i < count; i += 2) {
            ^
1411. 		temp = buf[i];
1412. 		buf[i] = buf[i + 1];

tools/tiff2ps.c:1410:7: Assignment
  1408. 	count--;
  1409. 
  1410. 	for (i = 0; i < count; i += 2) {
              ^
  1411. 		temp = buf[i];
  1412. 		buf[i] = buf[i + 1];

tools/tiff2ps.c:1398:1: <Length trace>
1396. 
1397. /* Flip the byte order of buffers with 16 bit samples */
1398. static void
      ^
1399. PS_FlipBytes(unsigned char* buf, tsize_t count)
1400. {

tools/tiff2ps.c:1398:1: Parameter `*buf`
  1396. 
  1397. /* Flip the byte order of buffers with 16 bit samples */
  1398. static void
        ^
  1399. PS_FlipBytes(unsigned char* buf, tsize_t count)
  1400. {

tools/tiff2ps.c:1412:12: Array access: Offset: [1, +oo] Size: [0, +oo] by call to `PS_FlipBytes` 
  1410. 	for (i = 0; i < count; i += 2) {
  1411. 		temp = buf[i];
  1412. 		buf[i] = buf[i + 1];
                   ^
  1413. 		buf[i + 1] = temp;
  1414. 	}
