X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DF8E63856DC8
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1696661418;
	bh=WTRVvKCKjy8gm6OMx/xJQxrdTZ30qe6PGcRoSAy85YE=;
	h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
	 From;
	b=fqJfHpaxUf0zOnf07iuXaAdUx3YNv0336W4pjwsIicsoyyY5YQ6hvJTvKzB6iGYHR
	 6zG2B8e5RWVoIjVMefNiFq0Lom1RYSDYP+IaWP2GXTJ4B7qB9zOOQ12sv4ixO54vir
	 qz500bzQmzy/IoUF1Lz+xBxLZHdzs/UyymOa/ewg=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 32F4E3858426
X-Authority-Analysis: v=2.4 cv=M75elg8s c=1 sm=1 tr=0 ts=6520ff85
 a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17
 a=IkcTkHD0fZMA:10 a=7392p9bmP1SmsWvOWsUA:9 a=QEXdDO2ut3YA:10
Message-ID: <97289eaa-801c-4753-be8d-3c754c73b03f@Shaw.ca>
Date: Sat, 7 Oct 2023 00:49:41 -0600
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Setup Ver 2.926 (64bit):can't file extract from
 qt5-webkit-debuginfo
Content-Language: en-CA
To: cygwin@cygwin.com
References: <183149768.1289732.1696156777556.JavaMail.yahoo.ref@mail.yahoo.co.jp>
 <183149768.1289732.1696156777556.JavaMail.yahoo@mail.yahoo.co.jp>
 <1a9e79d9-4219-cbb9-96f9-d87674d9fbf5@Shaw.ca>
 <2123170882.1351117.1696245249986.JavaMail.yahoo@mail.yahoo.co.jp>
 <0919dce3-61fc-9b0b-7a2e-c2831b275013@Shaw.ca>
 <18db6fe1-c92d-41c3-6f0b-4751f181609a@Shaw.ca>
 <94970509.1372740.1696323354692.JavaMail.yahoo@mail.yahoo.co.jp>
 <e8890dfe-28c9-a8a4-f599-c323725827ee@Shaw.ca>
 <339564566.1381796.1696375021925.JavaMail.yahoo@mail.yahoo.co.jp>
 <49139.5523118385$1696441841@news.gmane.org> <87il7lhsqv.fsf@>
Organization: Inglis
In-Reply-To: <87il7lhsqv.fsf@>
X-CMAE-Envelope: MS4xfC3WdgKQ1gXQFIB3XbkahM0p9usHnNFCFFRZiXnPiKZqughONiMGnMLK4vWL8SB9u0uBKpzXexOWVcS3IyXMNq0g9tdJGekHv2/TBimYnZmalvuFIoRp
 OH7oDk5IplR7A3dTrk11fugxND3p+Rb1SszwHwbCN6d+T8BoaUgNP9uCW1SF0AXWc7dDnA9OGcxLzw==
X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4,
 RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS,
 TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin@cygwin.com>
Reply-To: cygwin@cygwin.com
Cc: Brian Inglis <Brian.Inglis@Shaw.ca>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 3976oKRP000410

On 2023-10-05 11:41, ASSI via Cygwin wrote:
> ASSI via Cygwin writes:
>> I could reproduce that issue, no time yet to dig deeper.  It looks like
>> the decompressor loses track of where it is, then uses whatever data
>> comes after that to try and extract the next file (which obviously
>> doesn't look like it's expected to).
> 
> Both GNU tar and bsdtar (from libarchive) decompress the archive
> correctly, so that would allow you to install manually.  Looking at the
> file that produces the failure, it is quite a bit larger than 2GiB, so I
> think that this simply means that the canned tar extractor in setup.exe
> is just not large-file safe.

I hadn't realised that file was so large when decompressed: that definitely 
looks like a 32 bit signed overflow issue: changing the signed offset(s) or 
size(s) to unsigned, or size_t if larger, should eliminate future issues.

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

