Return-Path: <tiff-bounces@remotesensing.org>
Received: from inav010.isp.belgacom.be (inav010.isp.belgacom.be [195.238.3.53])
        by mailst034.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id i9FLmOu8015355
        for <joris.at.lebbeke@skynet.be>; Fri, 15 Oct 2004 23:48:24 +0200
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from inas002.isp.belgacom.be (localhost [127.0.0.1])
        by inav010.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id i9FLmH2d006125
        for <joris.at.lebbeke@skynet.be>; Fri, 15 Oct 2004 23:48:17 +0200
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from inmx012.isp.belgacom.be (inmx012.isp.belgacom.be [195.238.3.90])
        by inas002.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id i9FLm87t021764
        for <joris.at.lebbeke@skynet.be>; Fri, 15 Oct 2004 23:48:09 +0200
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx012.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id i9FLm03M023624
        for <joris.at.lebbeke@skynet.be>; Fri, 15 Oct 2004 23:48:02 +0200
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from adsl-065-083-169-202.sip.mco.bellsouth.net (localhost [127.0.0.1])
	by xserve.flids.com (Postfix) with ESMTP
	id F24FE3BE18C; Fri, 15 Oct 2004 17:47:47 -0400 (EDT)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from mail.viasys.com (herkules.viasys.com [194.100.28.129])
	by xserve.flids.com (Postfix) with SMTP id 76C6D3BE169
	for <tiff@remotesensing.org>; Fri, 15 Oct 2004 17:47:45 -0400 (EDT)
Received: (qmail 24884 invoked by uid 1414); 15 Oct 2004 21:47:40 -0000
Date: Sat, 16 Oct 2004 00:47:40 +0300
From: Ville Herva <vherva@viasys.com>
To: Frank Warmerdam <warmerdam@pobox.com>
Subject: Re: [Tiff] WIN32 _TIFFrealloc() bug?
Message-ID: <20041015214740.GF11949@viasys.com>
References: <20041015200118.GD11949@viasys.com> <41702E74.9010801@pobox.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <41702E74.9010801@pobox.com>
User-Agent: Mutt/1.4.1i
X-Operating-System: Linux herkules.viasys.com 2.4.27
Cc: tiff@remotesensing.org
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: vherva@viasys.com
List-Id: TIFF and libtiff discussion  <tiff.remotesensing.org>
List-Unsubscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://xserve.flids.com/pipermail/tiff>
List-Post: <mailto:tiff@remotesensing.org>
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Subscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
Sender: tiff-bounces@remotesensing.org
Errors-To: tiff-bounces@remotesensing.org
X-UIDL: 3362135c02b3e1c33133a25a3e75df59

On Fri, Oct 15, 2004 at 04:09:24PM -0400, you [Frank Warmerdam] wrote:
> 
> In CVS the _TIFFRealloc implementation in tif_win32.c has been changed to
> the following as others have reported the same issue.  

Ok.

> I imagine this new implementation is in the latest libtiff 3.7.0 beta as
> well, which I would encourage you to try out.  There are a number of known
> (and fixed) issues with the libtiff 3.6.1 and earlier releases.

I know. Are the Chris Evans' newest findings
(http://scary.beasts.org/security/CESA-2004-006.txt) already fixed in the
beta?
 
> tdata_t
> _TIFFrealloc(tdata_t p, tsize_t s)
> {
>         void* pvTmp;
>         tsize_t old;
> 
>         if(p == NULL)
>                 return ((tdata_t)GlobalAlloc(GMEM_FIXED, s));

Yeah, that seems sane.

> I set the clouds in motion - turn up light and sound - activate the
> windows and watch the world go round - Rush

Hmm, that's almost what Bill Gates might say...


Thanks for your prompt reply,

-- v -- 

v@iki.fi

_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
