Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas027.isp.belgacom.be (localhost [127.0.0.1])
        by inav007.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AV-3.00) with ESMTP id k5F3ODmx023144
        for <joris.at.lebbeke@skynet.be>; Thu, 15 Jun 2006 05:24:13 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx005.isp.belgacom.be (inmx005.isp.belgacom.be [195.238.5.148])
        by inas027.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AS-2.03) with ESMTP id k5F3O5q7026290
        for <joris.at.lebbeke@skynet.be>; Thu, 15 Jun 2006 05:24:06 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx005.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-2.32) with ESMTP id k5F3Ntbm012208
        for <joris.at.lebbeke@skynet.be>; Thu, 15 Jun 2006 05:23:59 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k5F0K9uA004282;
	Wed, 14 Jun 2006 20:20:57 -0400
Received: from scooby.simplesystems.org (scooby.simplesystems.org
	[65.66.246.67])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k5F0HW7u004177
	for <tiff@lists.maptools.org>; Wed, 14 Jun 2006 20:17:32 -0400
Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74])
	by scooby.simplesystems.org (8.12.10+Sun/8.12.10) with ESMTP id
	k5F0HTus012752; Wed, 14 Jun 2006 19:17:29 -0500 (CDT)
Date: Wed, 14 Jun 2006 19:17:29 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@blade.simplesystems.org
To: Scott Becker <scottb@bxwa.com>
Subject: Re: [Tiff] minor bug in tiff2pdf.c
In-Reply-To: <44909342.4000807@bxwa.com>
Message-ID: <Pine.SOC.4.60.0606141916240.26690@blade.simplesystems.org>
References: <44909342.4000807@bxwa.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Cc: tiff@lists.maptools.org
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
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>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.000017bb
X-MSP-STORE: Thu, 15 Jun 2006 05:24:16 +0200
Status:   

It seems that you are looking at old code.  The CVS version does not 
have this problem, and it seems like it has not existed for quite a 
while.

Bob

On Wed, 14 Jun 2006, Scott Becker wrote:

> I'm using code from tiff2pdf.c for a project and ran into this and thought I 
> should feed it back:
>
>
> In function t2p_read_tiff_init, on line 1035 or so this allocation is 
> followed by the wrong test. tiff_pages is tested above it:
>
>   t2p->tiff_tiles = (T2P_TILES*) _TIFFmalloc(directorycount * 
> sizeof(T2P_TILES
>   if(t2p->tiff_pages==NULL){
>
>
>
> should be:
>   if(t2p->tiff_tiles==NULL){
>
>
>
>   thanks
>   scottb
>
> _______________________________________________
> Tiff mailing list: Tiff@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tiff
> http://www.remotesensing.org/libtiff/
>

======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
