AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
May 2008

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2008.05.24 03:47 "beta2 release", by Frank Warmerdam
2008.05.24 07:30 "Re: beta2 release", by Edward Lam
2008.05.24 15:13 "Re: beta2 release", by Bob Friesenhahn
2008.05.26 13:48 "Re: beta2 release", by Edward Lam
2008.05.26 14:24 "Re: beta2 release - lfind() problem on Win64", by Edward Lam
2008.05.26 15:22 "Re: beta2 release - lfind() problem on Win64", by Frank Warmerdam
2008.05.26 15:31 "Re: beta2 release - lfind() problem on Win64", by Bob Friesenhahn
2008.05.26 15:47 "Re: beta2 release - lfind() problem on Win64", by Edward Lam
2008.05.26 16:07 "Re: beta2 release - lfind() problem on Win64", by Andrey Kiselev
2008.05.26 16:34 "Re: beta2 release - lfind() problem on Win64", by Bob Friesenhahn
2008.05.26 18:02 "Re: beta2 release - lfind() problem on Win64", by Edward Lam
2008.05.26 14:54 "Re: beta2 release -- tiffconf.vc.h patch", by Edward Lam
2008.05.26 15:10 "Re: beta2 release -- tiffconf.vc.h patch", by Frank Warmerdam
2008.05.26 18:07 "Re: beta2 release -- tiffconf.vc.h patch", by Edward Lam
2008.05.26 18:15 "Re: beta2 release -- tiffconf.vc.h patch", by Frank Warmerdam
2008.05.26 19:02 "Re: beta2 release -- tiffconf.vc.h patch", by Edward Lam
2008.05.26 18:17 "Re: beta2 release - TIFFFindField() on Windows", by Edward Lam
2008.05.26 19:32 "Re: beta2 release - predictors", by Edward Lam
2008.05.27 06:55 "Re: beta2 release - predictors", by Andrey Kiselev
2008.05.28 01:09 "Re: beta2 release", by Jay Berkenbilt
2008.05.28 01:15 "Re: beta2 release", by Frank Warmerdam

2008.05.26 16:34 "Re: beta2 release - lfind() problem on Win64", by Bob Friesenhahn

On Mon, 26 May 2008, Andrey Kiselev wrote:

>> It seems that the only cure is to add Windows specific code to handle
>> this specific case.
>
> We have such a code (see port/ directory) and it was used on Windows
> platform until I discovered that lfind is hidden under _lfind name
> there. So we can just continue using our implementation.

This sounds like the right approach to me.  Of course, care needs to 
be taken that a wrong prototype from the Windows headers is not 
applied.

> OFF: do they seriously thinking that their "safe" functions really help
> people?

I think that they are really quite helpful to programmers since they 
remind that Microsoft Windows has no intention to adhere to ANSI and 
other internationaly-recognized specifications so some other OS should 
be used if at all possible.  This is just another nail in the coffin 
for Microsoft in the Enterprise market.  Stack and heap exploits are 
surely a relatively minor concern when trying to achieve security in 
the Windows environment.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/