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

tools/tiff2ps.c:2351:4: Call
2349. 			fprintf(fd, "%s", RGBcolorimage);
2350. 			PSColorContigPreamble(fd, w, h, 3);
2351. 			PSDataColorContig(fd, tif, w, h, 3);
         ^
2352. 		} else {
2353. 			PSColorSeparatePreamble(fd, w, h, 3);

tools/tiff2ps.c:2437:1: Global `tf_bytesperrow`
  2435. #define	PUTHEX(c,fd)	putc(hex[((c)>>4)&0xf],fd); putc(hex[(c)&0xf],fd)
  2436. 
  2437. void
        ^
  2438. PSDataColorContig(FILE* fd, TIFF* tif, uint32 w, uint32 h, int nc)
  2439. {

tools/tiff2ps.c:2466:4: Call
  2464. 		 */
  2465. 		if (bitspersample == 16 && !HOST_BIGENDIAN) {
  2466. 			PS_FlipBytes(cp, tf_bytesperrow);
           ^
  2467. 		}
  2468. 		if (alpha) {

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 `PSDataColorContig` 
    2137. 	for (i = 0; i < count; i += 2) {
    2138. 		temp = buf[i];
    2139. 		buf[i] = buf[i + 1];
                     ^
    2140. 		buf[i + 1] = temp;
    2141. 	}
