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

tools/tiff2ps.c:2227:18: Call
2225. 		if (use_rawdata) {
2226. 			if (tiled_image)
2227. 				byte_count = TIFFReadRawTile(tif, chunk_no,
                       ^
2228. 						  buf_data, chunk_size);
2229. 			else

libtiff/tif_read.c:1168:3: Assignment
  1166. 
  1167. 	if (!TIFFCheckRead(tif, 1))
  1168. 		return ((tmsize_t)(-1));
          ^
  1169. 	if (tile >= td->td_nstrips) {
  1170. 		TIFFErrorExt(tif->tif_clientdata, module,

tools/tiff2ps.c:2227:5: Assignment
2225. 		if (use_rawdata) {
2226. 			if (tiled_image)
2227. 				byte_count = TIFFReadRawTile(tif, chunk_no,
          ^
2228. 						  buf_data, chunk_size);
2229. 			else

tools/tiff2ps.c:2255:4: Call
2253. 		 */
2254. 		if (bitspersample == 16 && !TIFFIsBigEndian(tif)) {
2255. 			PS_FlipBytes(buf_data, byte_count);
         ^
2256. 		}
2257. 		/*

tools/tiff2ps.c:2137:7: <Offset trace>
2135. 	count--;
2136. 
2137. 	for (i = 0; i < count; i += 2) {
            ^
2138. 		temp = buf[i];
2139. 		buf[i] = buf[i + 1];

tools/tiff2ps.c:2137:7: Assignment
  2135. 	count--;
  2136. 
  2137. 	for (i = 0; i < count; i += 2) {
              ^
  2138. 		temp = buf[i];
  2139. 		buf[i] = buf[i + 1];

tools/tiff2ps.c:2125:1: <Length trace>
2123. 
2124. /* Flip the byte order of buffers with 16 bit samples */
2125. static void
      ^
2126. PS_FlipBytes(unsigned char* buf, tsize_t count)
2127. {

tools/tiff2ps.c:2125:1: Parameter `*buf`
  2123. 
  2124. /* Flip the byte order of buffers with 16 bit samples */
  2125. static void
        ^
  2126. PS_FlipBytes(unsigned char* buf, tsize_t count)
  2127. {

tools/tiff2ps.c:2139:12: Array access: Offset: [1, +oo] Size: [0, +oo] by call to `PS_FlipBytes` 
  2137. 	for (i = 0; i < count; i += 2) {
  2138. 		temp = buf[i];
  2139. 		buf[i] = buf[i + 1];
                   ^
  2140. 		buf[i + 1] = temp;
  2141. 	}
