Return-Path: <tiff-bounces@remotesensing.org>
Received: from inav002.isp.belgacom.be (inav002.isp.belgacom.be [195.238.3.145])
        by mailst035.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id iATLJgcY030441
        for <joris.at.lebbeke@skynet.be>; Mon, 29 Nov 2004 22:19:42 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from inas004.isp.belgacom.be (localhost [127.0.0.1])
        by inav002.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id iATLJV7P030491
        for <joris.at.lebbeke@skynet.be>; Mon, 29 Nov 2004 22:19:33 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from inmx015.isp.belgacom.be (inmx015.isp.belgacom.be [195.238.2.218])
        by inas004.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id iATLJNpW019619
        for <joris.at.lebbeke@skynet.be>; Mon, 29 Nov 2004 22:19:25 +0100
        (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 inmx015.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id iATLJJeA031624
        for <joris.at.lebbeke@skynet.be>; Mon, 29 Nov 2004 22:19:20 +0100
        (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 5F8724B5410; Mon, 29 Nov 2004 16:19:05 -0500 (EST)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from cgp.pu.ru (vlan3.cgp.pu.ru [195.70.196.209])
	by xserve.flids.com (Postfix) with ESMTP id 05F494B53FC
	for <tiff@remotesensing.org>; Mon, 29 Nov 2004 16:19:02 -0500 (EST)
Received: from wg.pu.ru ([193.124.85.219] verified)
	by cgp.pu.ru (CommuniGate Pro SMTP 4.2.5)
	with ESMTP id 37283834 for tiff@remotesensing.org;
	Tue, 30 Nov 2004 00:15:42 +0300
Received: (from uucp@localhost)
	by wg.pu.ru (8.9.1a/8.9.1) with UUCP id VAA18328
	for tiff@remotesensing.org; Mon, 29 Nov 2004 21:19:00 GMT
Received: from ak4719.spb.edu (localhost [127.0.0.1])
	by ak4719.spb.edu (8.12.11/8.12.11/Debian-5) with ESMTP id
	iATLAn55023752
	for <tiff@remotesensing.org>; Tue, 30 Nov 2004 00:10:49 +0300
Received: (from dron@localhost)
	by ak4719.spb.edu (8.12.11/8.12.11/Debian-5) id iATLAne6023749
	for tiff@remotesensing.org; Tue, 30 Nov 2004 00:10:49 +0300
From: Andrey Kiselev <dron@ak4719.spb.edu>
Date: Tue, 30 Nov 2004 00:10:48 +0300
To: tiff@remotesensing.org
Subject: Re: [Tiff] Q on tag size
Message-ID: <20041129211048.GA23575@ak4719.spb.edu>
Mail-Followup-To: tiff@remotesensing.org
References: <41AB5727.6070304@gmx.de>
	<6.0.0.22.1.20041129154546.0262bbb0@pop.earthlink.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <6.0.0.22.1.20041129154546.0262bbb0@pop.earthlink.net>
X-GnuPG-Key: http://www.srces.spb.org/dron/export.home.key
X-Face: "t+se9s~+y~[XUH]L|pmeO3Pt/Q@DNv**S, d@_1-C=}/,
	c%<3Qp]eu!ok<"2lYJm$!9qVcg F?7o*L; |$`6|Q|>Rt-cU%2_y@6tQ|`!Li}TsvZvEKx;
	>fuY=fc(=sX^`7Wmw8%SsR`AvM$a; 0U/eN\ P?B\FTyqD, 0np$U2!*'z_4D,
	VPlFf?bN0&zYf"zF0s!7Tl7?$we)xD0@lL>[h|8bhys0i.g|zLnu@C
	Ti@d]i=[!:j1CB\5/TF[m]`lfHfaqSN[0qn@T3zeosV/[LAss{@p_?],x*j8P_9t[}uHD^X-;
	j~\M! gyTly;fj`}&Y~i{<#bN.#QmkE}#T`dxP.I1\.)_MEN{@#W
User-Agent: Mutt/1.5.6+20040722i
X-Virus-Scanned: clamd / ClamAV version 0.75-1, clamav-milter version 0.75c
	on ak4719
X-Virus-Status: Clean
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: 323ae52bda6f81ac22a3eaa3aad79583

Chris,

On Mon, Nov 29, 2004 at 03:48:49PM -0500, Chris Losinger wrote:
> 	in tif_dir.c, _TIFFVGetField, there's this bit of code to grab 
> 	'custom' tags
> 
>                 if( fip->field_passcount )
>                 {
>                     *va_arg(ap, unsigned short *) = (unsigned short) 
> tv->count;
>                     *va_arg(ap, void **) = tv->value;
>                     ret_val = 1;
>                     break;
>                 }
> 
> 	given that "unsigned short", i wonder: does the TIFF spec actually 
> 	limit tag sizes to 64K ? i wouldn't think so, since the TIFF tag
> 	structure allows for a 32-bit length.

That is a bug and it was fixed today. Grab the latest CVS snapshot to
get the changes.

					Andrey

-- 
Andrey V. Kiselev
Home phone:  +7 812 5970603  ICQ# 26871517
_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
