AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2011.01.10 16:18 "[Tiff] Missing mkstemp() on Visual Studio 2008", by Jeff McKenna
2011.01.10 16:59 "Re: [Tiff] Missing mkstemp() on Visual Studio 2008", by Edward Lam
2011.01.10 18:59 "Re: [Tiff] Missing mkstemp() on Visual Studio 2008", by Jeff McKenna
2011.01.10 20:35 "Re: [Tiff] Missing mkstemp() on Visual Studio 2008", by Edward Lam
2011.01.10 20:37 "Re: [Tiff] Missing mkstemp() on Visual Studio 2008", by Edward Lam
2011.01.10 20:54 "Re: [Tiff] Missing mkstemp() on Visual Studio 2008", by Bob Friesenhahn
2011.01.10 21:30 "Re: [Tiff] Missing mkstemp() on Visual Studio 2008", by Edward Lam
2011.01.11 00:01 "Re: [Tiff] Missing mkstemp() on Visual Studio 2008", by Igor Skochinsky
2011.01.11 15:41 "Re: [Tiff] Missing mkstemp() on Visual Studio 2008", by Edward Lam
2011.01.11 16:18 "Re: [Tiff] Missing mkstemp() on Visual Studio 2008", by Olivier Paquet
2011.01.11 16:38 "Re: [Tiff] Missing mkstemp() on Visual Studio 2008", by Igor Skochinsky

2011.01.10 20:35 "Re: [Tiff] Missing mkstemp() on Visual Studio 2008", by Edward Lam

On 1/10/2011 1:59 PM, Jeff McKenna wrote:

Thank you for your response. The changes made through this ticket recently (http://bugzilla.maptools.org/show_bug.cgi?id=2118) indeed changed from using tmpfile() to mkstemp(). I am unable to compile on Windows because of this change. How should I compile CVS HEAD on windows therefore?

Then I move that the patch be reverted. Why was it even necessary to use mkstemp() when we don't care about the file name? Not to mention that the new code uses a fixed length buffer that could in theory cause a buffer overflow.

-Edward