Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx2.pub.mailpod2-cph3.one.com ([10.27.25.12])
	by mailstorage18.cst.mailpod2-cph3.one.com with LMTP id 6G8KJY7ID1zteAAAQS8vrQ
	for <filtered@awaresystems.be>; Tue, 11 Dec 2018 14:24:14 +0000
X-HalOne-ID: 6f47439d-fd50-11e8-ad42-ec0d9a6ed9fe
Received: from mail-ed1-f44.google.com (unknown [209.85.208.44])
	by mx2.pub.mailpod2-cph3.one.com (Halon) with ESMTPS
	id 6f47439d-fd50-11e8-ad42-ec0d9a6ed9fe;
	Tue, 11 Dec 2018 14:24:14 +0000 (UTC)
Received: by mail-ed1-f44.google.com with SMTP id d39so12628883edb.12
        for <filtered@awaresystems.be>; Tue, 11 Dec 2018 06:24:14 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-original-authentication-results:x-gm-message-state:delivered-to
         :from:to:thread-topic:thread-index:date:message-id:references
         :in-reply-to:accept-language:content-language:mime-version:subject
         :precedence:list-id:list-unsubscribe:list-post:list-help
         :list-subscribe:cc:errors-to:sender;
        bh=npaQ8Pe/UTX+3YGxQVkcc+iIFjwzZiPar4Qv0M1OEMk=;
        b=abzxjhSIgr2XICu8MRX3F5yl2xzC1gP8r6BBIFEBpieSpy1zfLdzIS5bHahA9SMJvJ
         6skdF9AfQLAraJuhqSmr8Nuf+aSiAWlhCrMYOozczAlOAp3JhXXP5S5CM9NqpEBfFsQI
         8dy/CLAgQQ49hgt2AioJSEr0adku4N41iyP2cQ61xd29EG2syTlCiHF0uF8qZHiqx1Ge
         Lghnnc63hactJNt9LfXDb1YDYgHrSIkS5UxYVZA8QNgY0DtIV6sxwoAlMc626TVVk42R
         YzNI/8NaOHTMfrJz7PofDD5VJMXYPZR3TENm7b7b6QYcmTlG1nJvO8tvMmA9s5evLe4H
         SQbQ==
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com: domain of tiff-bounces@lists.osgeo.org designates 140.211.15.3 as permitted sender) smtp.mailfrom=tiff-bounces@lists.osgeo.org
X-Gm-Message-State: AA+aEWaocq+ydOhSfHL6fpFGW3B5+ISPR+u8cwrgxVL5P1tdI5NIDa0W
	Gdvx1hN+iCmSTXGyw3SQPkzpEydyj9sUoyI5TWQHCiuM66Uduu8=
X-Received: by 2002:a17:906:40cd:: with SMTP id a13-v6mr12215679ejk.207.1544538253883;
        Tue, 11 Dec 2018 06:24:13 -0800 (PST)
X-Forwarded-To: filtered@awaresystems.be
X-Forwarded-For: awaresystems.be@gmail.com filtered@awaresystems.be
Delivered-To: awaresystems.be@gmail.com
Received: by 2002:a25:2943:0:0:0:0:0 with SMTP id p64csp623904ybp;
        Tue, 11 Dec 2018 06:24:11 -0800 (PST)
X-Google-Smtp-Source: AFSGD/V8sxoxPZZDDnVgtZh01qy3KLLoB5vTi6wOLSUkWSwwn4b7+JRKFA2Mu+ZaR67bPJ1Rk30v
X-Received: by 2002:a17:902:6bc4:: with SMTP id m4mr15409632plt.93.1544538251567;
        Tue, 11 Dec 2018 06:24:11 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1544538251; cv=none;
        d=google.com; s=arc-20160816;
        b=X1Z4hoSa+PC9NEN8CkXk4tMszH6dOUmY4YbdT8oQ3ft/fUzdQpxL83xAQzn0Kke+q0
         0B6N2hNDhhbM+Ylnxp6PShDDpXDNLIOB8EK8vXDFGwhsYzsysRwIbJ0qRr/KG7Jtf6Jn
         d+qV51w28/+/PHxuJ5rJd2N+iInbhCrubvRgi7yzUx6328C3huIXBHTdLa5NkbE7/Il0
         u7u1WN8kTE6ScE3pAS79JQPWsBgtHrScUj0HtBdWNS2ZYzkD2g8VZpgQC0s8z4YA4wzD
         o7yCZszespYvw/KS8M2uQG0gG4Kf+gbj/iY16W6tZRKYGYsO/cfmEWhAzOySabT3V/d7
         v5ZA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=sender:errors-to:cc:list-subscribe:list-help:list-post
         :list-unsubscribe:list-id:precedence:subject:mime-version
         :content-language:accept-language:in-reply-to:references:message-id
         :date:thread-index:thread-topic:to:from;
        bh=npaQ8Pe/UTX+3YGxQVkcc+iIFjwzZiPar4Qv0M1OEMk=;
        b=QBwGYqzY+RmzspMuaBXM2NoNa7fMYoz78C4+8eLlNvN2TaZVO1JDRtrtuLFqptb06E
         uXH3R1On7xHAI4HXcBTad7v0iDscMSWSg5Qz9O6ADbaO9jqZyTScmrNRXOyJ1g0jTDdv
         B+PdjW75MhlPVMBhFBw+L2p8oe/6dlAbZHQlUYOYzEOC0E6NwH9CaLiAOkFmLqCWwgxH
         jZ+1J5bheJ/RVcq7tircJaRgbYD84hurPk3rJbJrZ+QMAahbQTS6a2sBdHc8hRCfsO/P
         GePmTqc5/yCgUPJyiz/EzRs0p2lFAyGyWAaqaDJ/+MN0vyo+AYXsr8Kk4uIwTqjpuvNi
         mBAg==
ARC-Authentication-Results: i=1; mx.google.com;
       spf=pass (google.com: domain of tiff-bounces@lists.osgeo.org designates 140.211.15.3 as permitted sender) smtp.mailfrom=tiff-bounces@lists.osgeo.org
Return-Path: <tiff-bounces@lists.osgeo.org>
Received: from lists.osgeo.org (osgeo6.osgeo.osuosl.org. [140.211.15.3])
        by mx.google.com with ESMTPS id u9si13230631plk.61.2018.12.11.06.24.10
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Tue, 11 Dec 2018 06:24:11 -0800 (PST)
Received-SPF: pass (google.com: domain of tiff-bounces@lists.osgeo.org designates 140.211.15.3 as permitted sender) client-ip=140.211.15.3;
Authentication-Results: mx.google.com;
       spf=pass (google.com: domain of tiff-bounces@lists.osgeo.org designates 140.211.15.3 as permitted sender) smtp.mailfrom=tiff-bounces@lists.osgeo.org
Received: from osgeo6.osgeo.osuosl.org (localhost [127.0.0.1])
	by lists.osgeo.org (Postfix) with ESMTP id 8D9E4606ED51;
	Tue, 11 Dec 2018 06:24:09 -0800 (PST)
Received: from EUR03-AM5-obe.outbound.protection.outlook.com
 (mail-oln040092070094.outbound.protection.outlook.com [40.92.70.94])
 by lists.osgeo.org (Postfix) with ESMTPS id 40D5C606ED4C
 for <tiff@lists.osgeo.org>; Tue, 11 Dec 2018 06:24:08 -0800 (PST)
Received: from AM5EUR03FT033.eop-EUR03.prod.protection.outlook.com
 (10.152.16.56) by AM5EUR03HT099.eop-EUR03.prod.protection.outlook.com
 (10.152.16.185) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1382.18; Tue, 11 Dec
 2018 14:24:05 +0000
Received: from AM4PR0401MB2306.eurprd04.prod.outlook.com (10.152.16.56) by
 AM5EUR03FT033.mail.protection.outlook.com (10.152.16.99) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.1382.18 via Frontend Transport; Tue, 11 Dec 2018 14:24:05 +0000
Received: from AM4PR0401MB2306.eurprd04.prod.outlook.com
 ([fe80::d505:9f38:c864:8e2f]) by AM4PR0401MB2306.eurprd04.prod.outlook.com
 ([fe80::d505:9f38:c864:8e2f%2]) with mapi id 15.20.1404.026; Tue, 11 Dec 2018
 14:24:05 +0000
From: Emmanuel Cosnard <emmanuel.cosnard@outlook.fr>
To: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
Thread-Topic: [Tiff] SeekOK and WriteOK
Thread-Index: AQHUkVaC2PFqky2OZkiEMYAOzy1dgqV5kUoAgAABB8iAAAOM7A==
Date: Tue, 11 Dec 2018 14:24:05 +0000
Message-ID: <AM4PR0401MB230688FE20D9FBADDDE015BFF7A60@AM4PR0401MB2306.eurprd04.prod.outlook.com>
References: <AM4PR0401MB2306B293098F2767AA91FE27F7A60@AM4PR0401MB2306.eurprd04.prod.outlook.com>,
 <alpine.GSO.2.20.1812110756500.14882@freddy.simplesystems.org>,
 <AM4PR0401MB23068B48C87AA88CC0D27095F7A60@AM4PR0401MB2306.eurprd04.prod.outlook.com>
In-Reply-To: <AM4PR0401MB23068B48C87AA88CC0D27095F7A60@AM4PR0401MB2306.eurprd04.prod.outlook.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-incomingtopheadermarker: OriginalChecksum:0B1A5F23A8D41FA733360B2BE88F611D25C7B13A51D6FBC54BC7B0857BBB74E4;
 UpperCasedChecksum:770CD895FB689D652BA0875D66E47D91835CCCA892836E1E45DC57D7C90BD726;
 SizeAsReceived:7252; Count:46
x-tmn: [luKGXJ2WM0bq5MtIJJTeeXYnEGhHP/3r]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; AM5EUR03HT099;
 6:KxVoqqj3AmLUPkh50DyUKyaTBzclPrAztkDxqYb9ReiiCIWcV0y6fbVYAYdbmvmOdcPo1DkUkd2G8aA5iWMBXVHFIiEU2mtN8SjgWnuaVLFdtkpY/2Jfdu9ZPFnDnlzCyVt+WISr4/LOx8VUEmqLZl6quDX9ruqXb12Ibr6gmtv9b/yjE6zSu+yADe+1yq51cuY4CB7wfdbrPpokAbWDHL+s9Ontw6FqAyc4LHJe5LfCgdyueY+inhh07Y7YbUYtV0SwGaBUDFn30zrAFwipn0kjYootPXNyqLtOFLy7VAI+MotJaF9s72fm2xHptwlA+mnSZYyMPcwhTYkz77OZFxgxRRMSnf6zC3s/mYpRtn/7bw+EIp2xeAUyw1dhHLTaS3xL8XAiV4TJAzD6iQ7nXfrneWKH8rHfP+2hQfiTaFEXCa3apr1NJDOeGYu4f6Uhpwvw3vKQMTN8og6dQUGkjw==;
 5:qO2LszdhEhhWYHHaGvCXOderRcwqp2sE5biP6WAnxs/Xi008hIXEvWJGIrIvO3s2Q/jO66s04ATuRBfmNehTJgbpzf5p2Pn8Sfltf+b0G71ASBdpLqjQslZToQqOwL0phGw0d5qT7ONu8gOt4ETHO/XpF8AXEv6ZD8B3NXwm3n0=;
 7:2r+UemMDPfOrZuJIakU4olNQGWwwAAQWtk1kdPF0VJwA9MLJRUY1soaKfGvzEzaWgnnG86lu1fiGB3DUSMXhrdSMrHBZ/24U5K+bfRJvGq76jgDNL6NnlVJyqfdz3pxIY9t+Jj5Fe1ozhKmqfjgnNw==
x-incomingheadercount: 46
x-eopattributedmessage: 0
x-microsoft-antispam: BCL:0; PCL:0;
 RULEID:(2390098)(7020095)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101475)(1601125500)(1701031045);
 SRVR:AM5EUR03HT099; 
x-ms-traffictypediagnostic: AM5EUR03HT099:
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(4566010)(82015058);
 SRVR:AM5EUR03HT099; BCL:0; PCL:0; RULEID:; SRVR:AM5EUR03HT099; 
x-microsoft-antispam-message-info: g0KrgjjC2AgUWCCFFYel2IMssdWod9MDPv273ULWsY6d/wCXFhHq9R7/bhxuYjFq
MIME-Version: 1.0
X-OriginatorOrg: outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 5dab7a8a-ebdc-4bd9-9cfd-67cde50b170b
X-MS-Exchange-CrossTenant-Network-Message-Id: 4776b62a-d662-4a1f-cbd8-08d65f744e9e
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 5dab7a8a-ebdc-4bd9-9cfd-67cde50b170b
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Dec 2018 14:24:05.8928 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5EUR03HT099
Subject: Re: [Tiff] SeekOK and WriteOK
X-BeenThere: tiff@lists.osgeo.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.osgeo.org>
List-Unsubscribe: <https://lists.osgeo.org/mailman/options/tiff>,
 <mailto:tiff-request@lists.osgeo.org?subject=unsubscribe>
List-Post: <mailto:tiff@lists.osgeo.org>
List-Help: <mailto:tiff-request@lists.osgeo.org?subject=help>
List-Subscribe: <https://lists.osgeo.org/mailman/listinfo/tiff>,
 <mailto:tiff-request@lists.osgeo.org?subject=subscribe>
Cc: "tiff@lists.osgeo.org" <tiff@lists.osgeo.org>
Content-Type: multipart/mixed; boundary="===============4116399310355353186=="
Errors-To: tiff-bounces@lists.osgeo.org
Sender: "Tiff" <tiff-bounces@lists.osgeo.org>

--===============4116399310355353186==
Content-Language: fr-FR
Content-Type: multipart/alternative;
	boundary="_000_AM4PR0401MB230688FE20D9FBADDDE015BFF7A60AM4PR0401MB2306_"

--_000_AM4PR0401MB230688FE20D9FBADDDE015BFF7A60AM4PR0401MB2306_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

It sometimes returns -1 although it seems to have well written what I wante=
d, and sometimes returns -1 and hasn't written anything.
________________________________
De : Tiff <tiff-bounces@lists.osgeo.org> de la part de Emmanuel Cosnard <em=
manuel.cosnard@outlook.fr>
Envoy=E9 : mardi 11 d=E9cembre 2018 14:09
=C0 : Bob Friesenhahn
Cc : tiff@lists.osgeo.org
Objet : Re: [Tiff] SeekOK and WriteOK

Hello Bob,

Thanks for your answer!

I am using windows 64 bits.

Actually, I created my own TIFFWriteData function and I am now sure that it=
's the WriteOK that doesn't work on some occasion, but still have no idea w=
hy.

Best regards,

Emmanuel
________________________________
De : Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
Envoy=E9 : mardi 11 d=E9cembre 2018 14:01
=C0 : Emmanuel Cosnard
Cc : tiff@lists.osgeo.org
Objet : Re: [Tiff] SeekOK and WriteOK

On Tue, 11 Dec 2018, Emmanuel Cosnard wrote:

> Hello,
>
> I am using the function TIFFWriteData to write some data on a custome rat=
ionnal tag, and it seems, that on some rare occasion,
> if (SeekOK(tif, dir->tdir_offset) && WriteOK(tif, cp, cc))
> Is there a way to do some intelligent retry here, instead of returning an=
 error? Or can we know why the WriteOK or SeekOK didn't work properly?

You did not mention the operating system you are using or the size of
its native off_t type (or equivalent).  It might make a difference if
you are using tif_unix.c or tif_win32.c, and the capabilities of the
compiler and run-time when the library was compiled.

This is the underlying implementation of the check:

int _TIFFSeekOK(TIFF* tif, toff_t off)
{
     /* Huge offsets, especially -1 / UINT64_MAX, can cause issues */
     /* See http://bugzilla.maptools.org/show_bug.cgi?id=3D2726 */
     return off <=3D (~(uint64)0)/2 && TIFFSeekFile(tif,off,SEEK_SET)=3D=3D=
off;
}

One can see that the first check is that the offset must be within the
range of a signed 64-bit type.  The next check actually does the seek
and checks if the requested position was obtained.  This is a case
where the seek position might need to be in the range of a smaller
size.

Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt

--_000_AM4PR0401MB230688FE20D9FBADDDE015BFF7A60AM4PR0401MB2306_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0);">
It sometimes returns -1 although it seems to have well written what I wante=
d, and sometimes returns -1 and hasn't written anything.<br>
</div>
<div id=3D"appendonsend"></div>
<hr style=3D"display:inline-block;width:98%" tabindex=3D"-1">
<div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" st=
yle=3D"font-size:11pt" color=3D"#000000"><b>De :</b> Tiff &lt;tiff-bounces@=
lists.osgeo.org&gt; de la part de Emmanuel Cosnard &lt;emmanuel.cosnard@out=
look.fr&gt;<br>
<b>Envoy=E9 :</b> mardi 11 d=E9cembre 2018 14:09<br>
<b>=C0 :</b> Bob Friesenhahn<br>
<b>Cc&nbsp;:</b> tiff@lists.osgeo.org<br>
<b>Objet :</b> Re: [Tiff] SeekOK and WriteOK</font>
<div>&nbsp;</div>
</div>
<style type=3D"text/css" style=3D"display:none">
<!--
p
	{margin-top:0;
	margin-bottom:0}
-->
</style>
<div dir=3D"ltr">
<div style=3D"font-family:Calibri,Helvetica,sans-serif; font-size:12pt; col=
or:rgb(0,0,0)">
Hello Bob,</div>
<div style=3D"font-family:Calibri,Helvetica,sans-serif; font-size:12pt; col=
or:rgb(0,0,0)">
<br>
</div>
<div style=3D"font-family:Calibri,Helvetica,sans-serif; font-size:12pt; col=
or:rgb(0,0,0)">
Thanks for your answer!</div>
<div style=3D"font-family:Calibri,Helvetica,sans-serif; font-size:12pt; col=
or:rgb(0,0,0)">
<br>
</div>
<div style=3D"font-family:Calibri,Helvetica,sans-serif; font-size:12pt; col=
or:rgb(0,0,0)">
I am using windows 64 bits.<br>
</div>
<div style=3D"font-family:Calibri,Helvetica,sans-serif; font-size:12pt; col=
or:rgb(0,0,0)">
<br>
</div>
<div style=3D"font-family:Calibri,Helvetica,sans-serif; font-size:12pt; col=
or:rgb(0,0,0)">
Actually, I created my own TIFFWriteData function and I am now sure that it=
's the WriteOK that doesn't work on some occasion, but still have no idea w=
hy.<br>
</div>
<div style=3D"font-family:Calibri,Helvetica,sans-serif; font-size:12pt; col=
or:rgb(0,0,0)">
<br>
</div>
<div style=3D"font-family:Calibri,Helvetica,sans-serif; font-size:12pt; col=
or:rgb(0,0,0)">
Best regards,</div>
<div style=3D"font-family:Calibri,Helvetica,sans-serif; font-size:12pt; col=
or:rgb(0,0,0)">
<br>
</div>
<div style=3D"font-family:Calibri,Helvetica,sans-serif; font-size:12pt; col=
or:rgb(0,0,0)">
Emmanuel<br>
</div>
<div id=3D"x_appendonsend"></div>
<hr tabindex=3D"-1" style=3D"display:inline-block; width:98%">
<div id=3D"x_divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" =
color=3D"#000000" style=3D"font-size:11pt"><b>De :</b> Bob Friesenhahn &lt;=
bfriesen@simple.dallas.tx.us&gt;<br>
<b>Envoy=E9 :</b> mardi 11 d=E9cembre 2018 14:01<br>
<b>=C0 :</b> Emmanuel Cosnard<br>
<b>Cc&nbsp;:</b> tiff@lists.osgeo.org<br>
<b>Objet :</b> Re: [Tiff] SeekOK and WriteOK</font>
<div>&nbsp;</div>
</div>
<div class=3D"x_BodyFragment"><font size=3D"2"><span style=3D"font-size:11p=
t">
<div class=3D"x_PlainText">On Tue, 11 Dec 2018, Emmanuel Cosnard wrote:<br>
<br>
&gt; Hello,<br>
&gt;<br>
&gt; I am using the function TIFFWriteData to write some data on a custome =
rationnal tag, and it seems, that on some rare occasion,<br>
&gt; if (SeekOK(tif, dir-&gt;tdir_offset) &amp;&amp; WriteOK(tif, cp, cc))<=
br>
&gt; Is there a way to do some intelligent retry here, instead of returning=
 an error? Or can we know why the WriteOK or SeekOK didn't work properly?<b=
r>
<br>
You did not mention the operating system you are using or the size of <br>
its native off_t type (or equivalent).&nbsp; It might make a difference if =
<br>
you are using tif_unix.c or tif_win32.c, and the capabilities of the <br>
compiler and run-time when the library was compiled.<br>
<br>
This is the underlying implementation of the check:<br>
<br>
int _TIFFSeekOK(TIFF* tif, toff_t off)<br>
{<br>
&nbsp;&nbsp;&nbsp;&nbsp; /* Huge offsets, especially -1 / UINT64_MAX, can c=
ause issues */<br>
&nbsp;&nbsp;&nbsp;&nbsp; /* See <a href=3D"http://bugzilla.maptools.org/sho=
w_bug.cgi?id=3D2726">http://bugzilla.maptools.org/show_bug.cgi?id=3D2726</a=
> */<br>
&nbsp;&nbsp;&nbsp;&nbsp; return off &lt;=3D (~(uint64)0)/2 &amp;&amp; TIFFS=
eekFile(tif,off,SEEK_SET)=3D=3Doff;<br>
}<br>
<br>
One can see that the first check is that the offset must be within the <br>
range of a signed 64-bit type.&nbsp; The next check actually does the seek =
<br>
and checks if the requested position was obtained.&nbsp; This is a case <br=
>
where the seek position might need to be in the range of a smaller <br>
size.<br>
<br>
Bob<br>
-- <br>
Bob Friesenhahn<br>
bfriesen@simple.dallas.tx.us, <a href=3D"http://www.simplesystems.org/users=
/bfriesen/">
http://www.simplesystems.org/users/bfriesen/</a><br>
GraphicsMagick Maintainer,&nbsp;&nbsp;&nbsp; <a href=3D"http://www.Graphics=
Magick.org/">http://www.GraphicsMagick.org/</a><br>
Public Key,&nbsp;&nbsp;&nbsp;&nbsp; <a href=3D"http://www.simplesystems.org=
/users/bfriesen/public-key.txt">
http://www.simplesystems.org/users/bfriesen/public-key.txt</a><br>
</div>
</span></font></div>
</div>
</body>
</html>

--_000_AM4PR0401MB230688FE20D9FBADDDE015BFF7A60AM4PR0401MB2306_--

--===============4116399310355353186==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KVGlmZiBtYWls
aW5nIGxpc3QKVGlmZkBsaXN0cy5vc2dlby5vcmcKaHR0cHM6Ly9saXN0cy5vc2dlby5vcmcvbWFp
bG1hbi9saXN0aW5mby90aWZmCg==

--===============4116399310355353186==--
