Return-Path: <tiff-bounces@lists.osgeo.org>
Received: from mailfep009.skynet.be ([10.35.132.229])
          by mailafep060-svc.mx.internal
          (InterMail vM.9.07.03.022 201-2473-138-3) with ESMTP
          id <20220418161835.NXIX24607.mailafep060-svc.mx.internal@mailfep009.skynet.be>
          for <chris.lindelaan@skynet.be>; Mon, 18 Apr 2022 18:18:35 +0200
Received: from el10159.bc ([10.29.1.15]) by mailfep009.skynet.be
          (InterMail vM.8.04.03.28.4 201-2389-100-182-103-20180124)
          with ESMTP
          id <20220418161835.BZNS2538.mailfep009.skynet.be@el10159.bc>
          for <chris.lindelaan@skynet.be>; Mon, 18 Apr 2022 18:18:35 +0200
Received: from [194.78.118.248] ([194.78.118.248])
 by el10159.bc with ngmta
 id ab7bdb2d-16e709f02cacb797; Mon, 18 Apr 2022 18:18:35 +0200
Authentication-Results: mx201.skynet.be; dkim=none (message not signed) header.i=none; spf=None smtp.pra=tiff-bounces@lists.osgeo.org; spf=PermError smtp.mailfrom=tiff-bounces@lists.osgeo.org; spf=PermError smtp.helo=postmaster@lists.osgeo.org
Received-SPF: None (mx201.skynet.be: no sender authenticity
  information available from domain of
  tiff-bounces@lists.osgeo.org) identity=pra;
  client-ip=140.211.15.3; receiver=mx201.skynet.be;
  envelope-from="tiff-bounces@lists.osgeo.org";
  x-sender="tiff-bounces@lists.osgeo.org";
  x-conformance=sidf_compatible
Received-SPF: PermError (mx201.skynet.be: cannot correctly
  interpret sender authenticity information from domain of
  tiff-bounces@lists.osgeo.org) identity=mailfrom;
  client-ip=140.211.15.3; receiver=mx201.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=""
Received-SPF: PermError (mx201.skynet.be: cannot correctly
  interpret sender authenticity information from domain of
  postmaster@lists.osgeo.org) identity=helo;
  client-ip=140.211.15.3; receiver=mx201.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=""
X-Ironport-Dmarc-Check-Result: validskip
IronPort-SDR: mZWemzv2JSDFauLEB6HN0ZY/EgilVVJIif+YIZ4hUQrTi0m1nXfAm4hiaVZNPeOo3e6ockQ7Va
 bxFCSzPawjIF9n6rWfaQgUolWZ+aB7nuo7G92KDiqSJGzJZMuoy6Fc+FnfDJgLxhj2XYDXW8mu
 Jh+B+fgnow6RLLitBT7qQLuu8f7n9gFAZ49MRKyRp/TkjdcpuzXPXYkkefNrSSjTzCiies4Zza
 nLFQnP5rOFZu8kMtCitZsneJjRLO2f/TGZbLfEYoLp26i6ZuA6C/VT2H95NvBm5SXKQxRVtw0/
 /UZd0xkC3RQlZaXpRPttKpyJ
X-Proximus-RemoteIp: 140.211.15.3
X-Proximus-Mfrom: tiff-bounces@lists.osgeo.org
X-Proximus-Rcpto: chris.lindelaan@skynet.be
X-IPAS-Result: =?us-ascii?q?A0HFAACujl1imAMP04xaHgEBCxIMQINULhkBZFgBKgEIS?=
 =?us-ascii?q?o1biBEDFosOhSKBW4R0hWqBXRYBAQIBAQEBAQksCwoCBAEBAQIBA4oDIAcDN?=
 =?us-ascii?q?BMBAgQBAQEBAwIDAQEBAQEBAwEBAQQBAQECAQECBAICAQECEAEBAQEBAQEBC?=
 =?us-ascii?q?QsJBwYMBRAOBTYGXmoEZgZfBIF0DDMNgjUFAgMfAQZMIlYBAQEBAQEBAQEnA?=
 =?us-ascii?q?gEBAQEBAQEBAQEBAQEBAQEBAQEWAg1SZwECAgEBAQE3DAoeCwMCAQECBgEBC?=
 =?us-ascii?q?g4oBAEDCAMBIwEhAQ0GEwUEgnsBgnUkBQqsIYEzgQGIF4FlgT2OV0OBSUR6G?=
 =?us-ascii?q?zMDgkQwPoJYCwEDAYFDhjMiBJp8CB2BUwEqASI1BCovEUBFLaFJYp4jgkKBE?=
 =?us-ascii?q?YsXjHqII4N0jDmGG5ILHRCWMY0elE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r6yAdwE4t2evnaysqHpoCSR2fCIP2U2+yQml77P3CHGjsCs2WTkn+9cfzV
 Q=
X-IronPort-Anti-Spam-Filtered: true
X-MGA-submission: =?us-ascii?q?MDFDB3CmvXGlGaXaYNP2IuRsDVfPLL7v0Crk47?=
 =?us-ascii?q?5ZtSMPcx6moz2w/wdUVl1C7soBXEWGL55q7Y2bw9ykgxM0Hvz719i3+h?=
 =?us-ascii?q?MtesJ+ARjte/hwjp0VfPvTf12SDVANYu7Ik0M=3D?=
Received: from osgeo6.osgeo.osuosl.org (HELO lists.osgeo.org) ([140.211.15.3])
  by mx201.skynet.be with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Apr 2022 18:18:24 +0200
Received: from osgeo6.osgeo.osuosl.org (localhost [127.0.0.1])
	by lists.osgeo.org (Postfix) with ESMTP id 66F88614596E;
	Mon, 18 Apr 2022 09:18:16 -0700 (PDT)
Received: from smtp.simplesystems.org (smtp.simplesystems.org [65.66.246.90])
 by lists.osgeo.org (Postfix) with ESMTPS id 8C51A6145968
 for <Tiff@lists.osgeo.org>; Mon, 18 Apr 2022 09:18:14 -0700 (PDT)
Received: from scrappy.simplesystems.org (scrappy.simplesystems.org
 [65.66.246.73])
 by smtp.simplesystems.org (8.14.4+Sun/8.14.4) with ESMTP id 23IGICmN022675;
 Mon, 18 Apr 2022 11:18:12 -0500 (CDT)
Date: Mon, 18 Apr 2022 11:18:12 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@scrappy.simplesystems.org
To: Mike Stanton <mfstanton@geospan.com>
cc: "Tiff@lists.osgeo.org" <Tiff@lists.osgeo.org>
In-Reply-To: <6de043ff76ad4421814ae27f6cb63eaf@geospan.com>
Message-ID: <alpine.GSO.2.20.2204181107580.26468@scrappy.simplesystems.org>
References: <d02ac81d1cf945f89c12f29023ffaf08@geospan.com>
 <6de043ff76ad4421814ae27f6cb63eaf@geospan.com>
User-Agent: Alpine 2.20 (GSO 67 2015-01-07)
MIME-Version: 1.0
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16
 (smtp.simplesystems.org [65.66.246.90]); Mon, 18 Apr 2022 11:18:12 -0500 (CDT)
Subject: Re: [Tiff] FW: File Offset Truncation due to incorrectr data typing
 for Return Argument in TIFF_WriteOverview
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>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: tiff-bounces@lists.osgeo.org
Sender: "Tiff" <tiff-bounces@lists.osgeo.org>
X-VadeSecure-Score: -100
X-VadeSecure-Verdict: clean
X-VadeSecure-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrvddtuddguddttdcutefuod
 etggdotefrodftvfcurfhrohhfihhlvgemucfrtffqigfkofgfufenuceurghilhhouhhtmecufed
 ttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepfffhvfgjkfhffgggufhp
 jefjudeftdfgtggvshesthejredttdervdenucfhrhhomhepuehosgcuhfhrihgvshgvnhhhrghhn
 hcuoegsfhhrihgvshgvnhesshhimhhplhgvrdgurghllhgrshdrthigrdhusheqnecuggftrfgrth
 htvghrnhepteeitdejffdvkeeigeetledtueeikeehueeuvdevvdeugeetheeutefhudeiffeunec
 uffhomhgrihhnpehsihhmphhlvghshihsthgvmhhsrdhorhhgpdhgrhgrphhhihgtshhmrghgihgt
 khdrohhrghdpohhsghgvohdrohhrghenucfkphepudegtddrvdduuddrudehrdefpdeihedrieeir
 ddvgeeirdejfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedugedtrd
 dvuddurdduhedrfedpmhgrihhlfhhrohhmpehtihhffhdqsghouhhntggvsheslhhishhtshdrohh
 sghgvohdrohhrghdpnhgspghrtghpthhtohepuddprhgtphhtthhopegthhhrihhsrdhlihhnuggv
 lhgrrghnsehskhihnhgvthdrsggvpdhmohguvgepshhmthhp

On Mon, 18 Apr 2022, Mike Stanton wrote:

> For my work I am dealing with a very large mosaic TIFF of 1.5TB. 
> It is my intent to take that large file and carve it up into 256X256 
> tiles for WMS.  While doing my build of the Tiff Library for 4.3.0 I 
> fount a number of warnings of possible data loss cases because of 
> truncation of Variables, specifically File offsets.  I realize the 
> diagnostic can be ignored but doing so may lead to data corruption 
> or loss of content.  So I started going through the code and the 
> very first one was a Warning C4244 message

> The returned parameter is of a uint64_t data type but the function 
> declaration and definitions are both done with a uint32_t Value. 
> Attached are screenshots of the various definitions and usages taken 
> from a Visual Studio code inspection in which I was engaging because 
> of the alarming number of Warning messages of this type that I was 
> seeing.  Most of them are innocuous but some could result in data 
> loss when using large files.

Your screen shots were removed by the mailing list implementation. 
Maybe you have a web site somewhere where you an post it and then 
share the URL to it?

What version of Visual Studio are you using?  What means did you use 
to create the project files?

What I/O model are you using?  There is a choice of tif_win32.c and 
tif_unix.c.

As you compiling as a 32 bit or 64 bit application?

> I am willing to make the necessary changes to correct all the C4244 
> Warnings and other related changes to get a clean compile if nobody 
> else has done so because another project I was on formy former 
> employer taught me that leaving these warnings in place without 
> following proper typecasting protocols when changing radix scales 
> yields unpredictable errors.  Please advise.  Am I missing 
> something? Am I on a fool's Errand?

If it was just me, I would try to fix/quiet the Visual Studio warnings 
but others on the project do not agree with this since requires adding 
many type casts to the code and the type casts might hide a problem. 
They prefer to fix only issues which are bugs.

Microsoft Windows is strange since in 64-bit builds, the size of 
'long' is still only 32 bits.  Interfaces defined in terms of 'long' 
can cause problems.

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
_______________________________________________
Tiff mailing list
Tiff@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/tiff
