Return-Path: <tiff-bounces@lists.osgeo.org>
Received: from mailgate110.isp.belgacom.be ([195.238.20.42])
          by mailfep009.skynet.be
          (InterMail vM.8.04.03.28.4 201-2389-100-182-103-20180124)
          with ESMTP
          id <20201211010705.MQUR7563.mailfep009.skynet.be@mailgate110.isp.belgacom.be>
          for <chris.lindelaan@skynet.be>; Fri, 11 Dec 2020 02:07:05 +0100
Authentication-Results: mx101.skynet.be; dkim=none (message not signed) header.i=none; spf=None smtp.pra=tiff-bounces@lists.osgeo.org; spf=Pass smtp.mailfrom=tiff-bounces@lists.osgeo.org; spf=Pass smtp.helo=postmaster@lists.osgeo.org
Received-SPF: None (mx101.skynet.be: no sender authenticity
  information available from domain of
  tiff-bounces@lists.osgeo.org) identity=pra;
  client-ip=140.211.15.3; receiver=mx101.skynet.be;
  envelope-from="tiff-bounces@lists.osgeo.org";
  x-sender="tiff-bounces@lists.osgeo.org";
  x-conformance=sidf_compatible
Received-SPF: Pass (mx101.skynet.be: domain of
  tiff-bounces@lists.osgeo.org designates 140.211.15.3 as
  permitted sender) identity=mailfrom; client-ip=140.211.15.3;
  receiver=mx101.skynet.be;
  envelope-from="tiff-bounces@lists.osgeo.org";
  x-sender="tiff-bounces@lists.osgeo.org";
  x-conformance=sidf_compatible; x-record-type="v=spf1";
  x-record-text="v=spf1 mx a:mail.osgeo.org a:lists.osgeo.org
  a:mail.osgeo.osuosl.org a:tracsvn.osgeo.osuosl.org -all"
Received-SPF: Pass (mx101.skynet.be: domain of
  postmaster@lists.osgeo.org designates 140.211.15.3 as
  permitted sender) identity=helo; client-ip=140.211.15.3;
  receiver=mx101.skynet.be;
  envelope-from="tiff-bounces@lists.osgeo.org";
  x-sender="postmaster@lists.osgeo.org";
  x-conformance=sidf_compatible; x-record-type="v=spf1";
  x-record-text="v=spf1 mx a:mail.osgeo.org a:lists.osgeo.org
  a:mail.osgeo.osuosl.org a:tracsvn.osgeo.osuosl.org -all"
X-Ironport-Dmarc-Check-Result: validskip
IronPort-SDR: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QEiBAgDASMBCh0IAQEEDgUFAxqDBAGDBgEECqMOAgKBOohoAQEBcoE0hAaBP?=
 =?us-ascii?q?4R9gTiBEoxDCYIAgVSCVT6CXQEEghqDDIIsBIFlWAaBCwEqAVoqViQ1j0dIi?=
 =?us-ascii?q?3MNnA2CfokgizOHFIMlj36PF58MkwWDEwIEAgQFAg4BAQWBbYF7HxQaCCgIO?=
 =?us-ascii?q?4EzGoEcCUQBAgECDQIBAgIBAQICAgEBAgIBAQICAgECAY5NgzqFFIVEdDcCB?=
 =?us-ascii?q?gEJAQEDCXyINVwBMV8BAQ?=
X-MGA-submission: =?us-ascii?q?MDGEi9KaqQIysxBrd0/7G9VR70SB3juaONnbiD?=
 =?us-ascii?q?OHtKZgv5p9Ft0TpIcuwCwqyDhhENlJCIxNOkIXS4lM1SzxoztuEtsnXx?=
 =?us-ascii?q?LMoOk1sofGu11mvHSE93Dc2B8mgRTn7/gb0I4=3D?=
Received: from osgeo6.osgeo.osuosl.org (HELO lists.osgeo.org) ([140.211.15.3])
  by mx101.skynet.be with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 11 Dec 2020 02:07:00 +0100
Received: from osgeo6.osgeo.osuosl.org (localhost [127.0.0.1])
	by lists.osgeo.org (Postfix) with ESMTP id 5211F614460E;
	Thu, 10 Dec 2020 17:06:53 -0800 (PST)
X-Greylist: delayed 369 seconds by postgrey-1.35 at osgeo6;
 Thu, 10 Dec 2020 17:06:51 PST
Received: from us-smtp-delivery-120.mimecast.com
 (us-smtp-delivery-120.mimecast.com [216.205.24.120])
 by lists.osgeo.org (Postfix) with ESMTP id 7984D6146826
 for <tiff@lists.osgeo.org>; Thu, 10 Dec 2020 17:06:51 -0800 (PST)
Received: from NAM12-MW2-obe.outbound.protection.outlook.com
 (mail-mw2nam12lp2048.outbound.protection.outlook.com [104.47.66.48]) (Using
 TLS) by relay.mimecast.com with ESMTP id
 us-mta-259-3WosQvs7NIG6egTxFRxZ1g-1; Thu, 10 Dec 2020 20:00:37 -0500
X-MC-Unique: 3WosQvs7NIG6egTxFRxZ1g-1
Received: from BL0PR05MB4852.namprd05.prod.outlook.com (2603:10b6:208:57::10)
 by BL0PR05MB5457.namprd05.prod.outlook.com (2603:10b6:208:65::13)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.7; Fri, 11 Dec
 2020 01:00:36 +0000
Received: from BL0PR05MB4852.namprd05.prod.outlook.com
 ([fe80::35e6:ed3d:418a:f007]) by BL0PR05MB4852.namprd05.prod.outlook.com
 ([fe80::35e6:ed3d:418a:f007%7]) with mapi id 15.20.3654.013; Fri, 11 Dec 2020
 01:00:35 +0000
To: Even Rouault <even.rouault@spatialys.com>
CC: "tiff@lists.osgeo.org" <tiff@lists.osgeo.org>
Thread-Topic: [Tiff] Question about difference in TIFFReadEncodedStrip
 behavior between libtiff versions
Thread-Index: AdbIIhPplRqH6JLcRtiYniAoF+MtogFVJnoAAAASVIAACNYHkAAC2wWAAGzKSAA=
Date: Fri, 11 Dec 2020 01:00:35 +0000
Message-ID: <BL0PR05MB485295F96881649976D50BA9D5CA0@BL0PR05MB4852.namprd05.prod.outlook.com>
References: <BL0PR05MB48520C5E05EC9964D64F7B8FD5F40@BL0PR05MB4852.namprd05.prod.outlook.com>
 <2505996.CiZN03daHp@even-i700>
 <BL0PR05MB485257A602415DA8CCF0194CD5CD0@BL0PR05MB4852.namprd05.prod.outlook.com>
 <4855590.T0D946Zz4O@even-i700>
In-Reply-To: <4855590.T0D946Zz4O@even-i700>
Accept-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [144.212.3.4]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: ddd7b3dc-56e9-44de-998b-08d89d702b33
x-ms-traffictypediagnostic: BL0PR05MB5457:
x-microsoft-antispam-prvs: <BL0PR05MB54577BD46498A02DE887D7C2D5CA0@BL0PR05MB5457.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0
x-microsoft-antispam-message-info: wPHaORtgY2Qh29TymyGsRef4w0hge+RfFuU/u/H72cGfQ+Ih6Vl+DGyL1PMUW/i/QiKiVntgqNhH1YtBLdS2U31BSkB1DUlbzfXdbuY7Q0/H6l01lGWw8qKAA+B61J7cNC8/PYmXj1AQpyu4wm5RfNbdyGCl+wevpcb12NPttaUEAW22ipoBZon9Zd+xOaRxlxaaxPCWz9NIConxtVcQ/sdJdOAPTYtZxA47KGByBriwLfxnl2/1bdkKF9P/hs1wQa/QFOgTJaETR19WgmA6nN8ECVC9JWJ+D7xj7fcCWp0ID0/YdkDOzocYxDSyWa8+E5+5L2vNN38+bzaa+DH4ZtFHV4X5Y3qPvb1FRIcwZi3uBljA6UX15kVLjxXiaJIOaiUh/VY1jN9ZJDSUbdf/Iw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:BL0PR05MB4852.namprd05.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(4636009)(136003)(376002)(366004)(346002)(5660300002)(66476007)(64756008)(66556008)(508600001)(55016002)(53546011)(7696005)(6916009)(166002)(9326002)(76116006)(66446008)(8936002)(66946007)(2906002)(186003)(33656002)(26005)(9686003)(8676002)(4326008)(71200400001)(86362001)(52536014)(6506007)(966005);
 DIR:OUT; SFP:1101
x-ms-exchange-antispam-messagedata: =?iso-8859-1?Q?jSX8hX9fmw/hPGWRAlwEMSw/fdDpWG6IK/2nhyVyNTfPHfvuh56fi2lcZb?=
 =?iso-8859-1?Q?f/FUqkAcNFDRZ7AigKy3PMVEGmZ2SPCZSqw0kEiMaDpD635G7MtRqnc6V1?=
 =?iso-8859-1?Q?niPTyEv7dhB9iWDKgpL8+0e7JCVQOYUFqQGOvvUZ0japRR09amIre1LMpg?=
 =?iso-8859-1?Q?sFxa91A15hMi3UMbX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ms-exchange-transport-forked: True
MIME-Version: 1.0
X-OriginatorOrg: mathworks.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BL0PR05MB4852.namprd05.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: ddd7b3dc-56e9-44de-998b-08d89d702b33
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Dec 2020 01:00:35.8535 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 99dd3a11-4348-4468-9bdd-e5072b1dc1e6
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: FHifou9JlD2TMfJc1L38x8jmkYlYwhuveqNDqrDNWxKfNEsMRgz75+qrcoN0H3d2k5kaZbkdpn8UQ7GWIsVucQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR05MB5457
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: mathworks.com
Content-Language: en-US
Subject: Re: [Tiff] Question about difference in TIFFReadEncodedStrip
 behavior between libtiff versions
X-BeenThere: tiff@lists.osgeo.org
X-Mailman-Version: 2.1.34
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>
From: Nalini Vishnoi via Tiff <tiff@lists.osgeo.org>
Reply-To: Nalini Vishnoi <nvishnoi@mathworks.com>
Content-Type: multipart/mixed; boundary="===============8463550291842007044=="
Errors-To: tiff-bounces@lists.osgeo.org
Sender: "Tiff" <tiff-bounces@lists.osgeo.org>

--===============8463550291842007044==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_BL0PR05MB485295F96881649976D50BA9D5CA0BL0PR05MB4852namp_"

--_000_BL0PR05MB485295F96881649976D50BA9D5CA0BL0PR05MB4852namp_
Content-Type: text/plain; charset=WINDOWS-1252
Content-Transfer-Encoding: quoted-printable

Hi Even,

Thank you for the explanation - appreciate your reply and help in fixing th=
is.

Best regards,
Nalini

From: Even Rouault <even.rouault@spatialys.com>
Sent: Tuesday, December 8, 2020 4:05 PM
To: Nalini Vishnoi <nvishnoi@mathworks.com>
Cc: tiff@lists.osgeo.org
Subject: Re: [Tiff] Question about difference in TIFFReadEncodedStrip behav=
ior between libtiff versions

On mardi 8 d=E9cembre 2020 19:51:30 CET Nalini Vishnoi wrote:
> Hi Even,
>
> Thanks for your help and for submitting a fix promptly.
> I agree that the file is pretty broken as a number of tools (not using
> libtiff) were unable to read the file as well. I was curious about the
> behavior change between different versions of libtiff - whether it was a
> result of implementing the standards more strictly or an unintentional
> change.

Was linked to a hardening in the library code to avoid potentially arbitrar=
y
RAM allocation on broken files that would declare StripByteCount/StripOffse=
ts
tag with millions of entries where the file is actually very small, but it
accidentally broke for the very particular case of your broken file :-)

--
Spatialys - Geospatial professional services
http://www.spatialys.com<http://www.spatialys.com>

--_000_BL0PR05MB485295F96881649976D50BA9D5CA0BL0PR05MB4852namp_
Content-Type: text/html; charset=WINDOWS-1252
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
=09{font-family:"Cambria Math";
=09panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
=09{font-family:Calibri;
=09panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
=09{margin:0in;
=09margin-bottom:.0001pt;
=09font-size:11.0pt;
=09font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
=09{mso-style-priority:99;
=09color:blue;
=09text-decoration:underline;}
span.EmailStyle18
=09{mso-style-type:personal-reply;
=09font-family:"Calibri",sans-serif;
=09color:windowtext;}
.MsoChpDefault
=09{mso-style-type:export-only;
=09font-size:10.0pt;}
@page WordSection1
=09{size:8.5in 11.0in;
=09margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
=09{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi Even, <o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Thank you for the explanation &#8211; appreciate you=
r reply and help in fixing this.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Best regards, <o:p></o:p></p>
<p class=3D"MsoNormal">Nalini <o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b>From:</b> Even Rouault &lt;even.rouault@spatialys=
.com&gt; <br>
<b>Sent:</b> Tuesday, December 8, 2020 4:05 PM<br>
<b>To:</b> Nalini Vishnoi &lt;nvishnoi@mathworks.com&gt;<br>
<b>Cc:</b> tiff@lists.osgeo.org<br>
<b>Subject:</b> Re: [Tiff] Question about difference in TIFFReadEncodedStri=
p behavior between libtiff versions<o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">On mardi 8 d=E9cembre 2020 19:51:30 CET Nalini Vishn=
oi wrote:<br>
&gt; Hi Even,<br>
&gt; <br>
&gt; Thanks for your help and for submitting a fix promptly.<br>
&gt; I agree that the file is pretty broken as a number of tools (not using=
<br>
&gt; libtiff) were unable to read the file as well. I was curious about the=
<br>
&gt; behavior change between different versions of libtiff - whether it was=
 a<br>
&gt; result of implementing the standards more strictly or an unintentional=
<br>
&gt; change.<br>
<br>
Was linked to a hardening in the library code to avoid potentially arbitrar=
y <br>
RAM allocation on broken files that would declare StripByteCount/StripOffse=
ts <br>
tag with millions of entries where the file is actually very small, but it =
<br>
accidentally broke for the very particular case of your broken file :-)<br>
<br>
-- <br>
Spatialys - Geospatial professional services<br>
<a href=3D"http://www.spatialys.com">http://www.spatialys.com</a><o:p></o:p=
></p>
</div>
</body>
</html>

--_000_BL0PR05MB485295F96881649976D50BA9D5CA0BL0PR05MB4852namp_--


--===============8463550291842007044==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Tiff mailing list
Tiff@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/tiff

--===============8463550291842007044==--

