Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-s.b-one.net (mx-s.one.com [91.198.169.250])
	by mail9.b-one.net (Postfix) with ESMTP id AD0ED400161
	for <info@awaresystems.be>; Wed, 23 Feb 2011 20:08:21 +0100 (CET)
Received: by mx-s.b-one.net (Postfix, from userid 106)
	id 9FDCD55F8B15; Wed, 23 Feb 2011 20:07:23 +0100 (CET)
X-Virus-Scanned: by one.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=0 required=4 tests=[none]
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144]) by
 mx-s.b-one.net (Postfix) with ESMTP id EA37355B607A for
 <info@awaresystems.be>; Wed, 23 Feb 2011 20:06:46 +0100 (CET)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by
 lists.maptools.org (Postfix) with ESMTP id 5385E86B1A; Wed, 23 Feb 2011
 14:05:15 -0500 (EST)
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8])
 by lists.maptools.org (Postfix) with ESMTP id CBE9486ACB for
 <tiff@lists.maptools.org>; Wed, 23 Feb 2011 14:04:20 -0500 (EST)
Received: from [192.168.0.20] (dslb-084-063-078-054.pools.arcor-ip.net
 [84.63.78.54]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis)
 id 0LsftZ-1Q38t13H33-0121xB; Wed, 23 Feb 2011 20:04:18 +0100
Message-ID: <4D655A37.9030708@ar-kleinert.de>
Date: Wed, 23 Feb 2011 20:04:23 +0100
From: Andreas Kleinert <info@ar-kleinert.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.2.13)
 Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7
MIME-Version: 1.0
To: tiff@lists.maptools.org
References: <4D6387EE.3040904@cinemo.com>
In-Reply-To: <4D6387EE.3040904@cinemo.com>
X-Enigmail-Version: 1.1.1
X-Provags-ID: V02:K0:hP3Lou63Kl4nfJL8uQJE28XWJooPwmjRvRZBGsFmHjd
 ZAkBO+cgm9tAeAz4Wn/Fgh5ukBD4XJiZi2SJkDx4SZgahVffWa
 1yXct/uepW1nd16ZGl63VU4zStWjVYRNyYQjS3x5gK6qJo7byp
 U323pXRnm3+IeDhB7hR/8FX5C+vzAgbHqM1zBiDTflLh0dB2Ek
 XPCrM/VQM7EGDwpsN1GhTQNDEqA7t022QNasAYFqTM=
Subject: Re: [Tiff] memory leak in tif_getimage.c
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
 <mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
 <mailto:tiff-request@lists.maptools.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

I've applied the patch to 3.9.4 and can confirm that it's functionally
working for the non-error case.

But what didn't work was to apply it using Cygwin's "patch" port. Not
sure why (various errors). Applied it manually. Then compiled with VC++
2008.

-------- Original Message  --------
Subject: [Tiff] memory leak in tif_getimage.c
From: Peter Hoepfner <phoepfner@cinemo.com>
To: tiff@lists.maptools.org
Date: 22.02.2011 10:54

> Hi,
> 
> I've discovered a memory leak in tif_getimage.c if TIFFRGBAImageBegin() 
> returns an error. All resources already acquired are not released. I've 
> created a patch to fix this leak.
> 
> Sincerely Peter Hoepfner

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
