2010.02.26 08:11 "[Tiff] Patch for tif_unix.c", by Eric Doenges

2010.02.26 17:43 "Re: [Tiff] Patch for tif_unix.c", by Edward Lam

It does not seem like your patch deals with the case where the system

call returns -1 to indicate an error. This is important to deal with

I see that in the patch?

+                if (0 > (bytes = read((int) fd, (char *) buf + total,

+                                      size_io - total)))
+                        return (tmsize_t) -1;

Note that the calling code of the read/write proc functions always check if the returned size matches what was requested and issues an error if they don't.

Regards,

-Edward