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
January 2009

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

2009.01.21 04:07 "libtiff 4.0.0beta3", by Frank Warmerdam
2009.01.21 21:11 "Re: libtiff 4.0.0beta3", by Edward Lam
2009.01.22 16:23 "Re: libtiff 4.0.0beta3", by Edward Lam
2009.01.22 16:31 "Re: libtiff 4.0.0beta3", by Bob Friesenhahn
2009.01.22 20:47 "Re: libtiff 4.0.0beta3", by Edward Lam
2009.01.22 20:54 "Re: libtiff 4.0.0beta3", by Frank Warmerdam
2009.01.22 21:09 "Re: libtiff 4.0.0beta3", by Bob Friesenhahn
2009.01.22 21:14 "Re: libtiff 4.0.0beta3", by Frank Warmerdam
2009.01.22 21:20 "Re: libtiff 4.0.0beta3", by Bob Friesenhahn
2009.01.22 21:22 "Re: libtiff 4.0.0beta3", by Edward Lam
2009.01.22 17:00 "Re: libtiff 4.0.0beta3", by Bob Friesenhahn
2009.01.22 19:38 "Re: libtiff 4.0.0beta3", by Frank Warmerdam

2009.01.22 17:00 "Re: libtiff 4.0.0beta3", by Bob Friesenhahn

On Thu, 22 Jan 2009, Edward Lam wrote:
>
> I did a pass using the canonical build instructions for MSVC and got
> some additional warnings similar to:
>
> tif_lzw.c(389) : warning C4244: '+=' : conversion from 'tmsize_t' to
> 'long', possible loss of data
> tif_lzw.c(606) : warning C4244: '+=' : conversion from 'tmsize_t' to
> 'long', possible loss of data
> tif_lzw.c(715) : warning C4244: '=' : conversion from 'tmsize_t' to
> 'long', possible loss of data

This type of warning is quite worrysome.  For Windows builds, the 
'long' type is always 32-bit whereas it is usually 64-bit on Unix 
systems.  Undetected overflow will result in wrong processing, and may 
represent an available security exploit.

Can you post the full list of such warnings?

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