Return-Path: <tiff-bounces@remotesensing.org>
Received: from inmx007.isp.belgacom.be (inmx007.isp.belgacom.be [195.238.3.89])
        by mailst006.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id i81NYZfS022663
        for <joris.at.lebbeke@skynet.be>; Thu, 2 Sep 2004 01:34:35 +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 inmx007.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id i81NYIvi002967
        for <joris.at.lebbeke@skynet.be>; Thu, 2 Sep 2004 01:34:20 +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 1A2CA28E7E8; Wed,  1 Sep 2004 19:34:05 -0400 (EDT)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from outmx006.isp.belgacom.be (outmx006.isp.belgacom.be
	[195.238.2.99])
	by xserve.flids.com (Postfix) with ESMTP id 9E54428E7C2
	for <tiff@remotesensing.org>; Wed,  1 Sep 2004 19:34:02 -0400 (EDT)
Received: from outmx006.isp.belgacom.be (localhost [127.0.0.1])
	by outmx006.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with
	ESMTP id i81NXxQG004170
	for <tiff@remotesensing.org>; Thu, 2 Sep 2004 01:33:59 +0200
	(envelope-from <joris.at.lebbeke@skynet.be>)
Received: from dfgrrxsknr4e (141.35-200-80.adsl.skynet.be [80.200.35.141])
	by outmx006.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with SMTP
	id i81NXt5W004134
	for <tiff@remotesensing.org>; Thu, 2 Sep 2004 01:33:55 +0200
	(envelope-from <joris.at.lebbeke@skynet.be>)
Message-ID: <000701c4907c$4ffe3220$8d23c850@dfgrrxsknr4e>
From: "Joris" <joris.at.lebbeke@skynet.be>
To: "Tiff mailing list" <tiff@remotesensing.org>
Date: Thu, 2 Sep 2004 01:35:01 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Subject: [Tiff] Tiff2Pdf bug
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.1.2
Precedence: list
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: 8327e8a10d3546955e9b5660aed7aa42

Ross,

Seems to me that in t2p_read_tiff_init(...), second check for
t2p->tiff_pages==NULL, near the beginning of the function, should actually be
checking for t2p->tiff_tiles==NULL.

Also, it might not be an error if _TIFFmemset checks for it, but in t2p_init(),
top few lines, you might want to move _TIFFmemset(t2p,...) to after the check
for t2p==NULL.

Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html

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