public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@Shaw.ca>
To: cygwin@cygwin.com
Subject: Re: Setup Ver 2.926 (64bit):can't file extract from qt5-webkit-debuginfo
Date: Sat, 7 Oct 2023 00:49:41 -0600	[thread overview]
Message-ID: <97289eaa-801c-4753-be8d-3c754c73b03f@Shaw.ca> (raw)
In-Reply-To: <87il7lhsqv.fsf@>

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


  reply	other threads:[~2023-10-07  6:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <183149768.1289732.1696156777556.JavaMail.yahoo.ref@mail.yahoo.co.jp>
2023-10-01 10:39 ` texrayk-frm
2023-10-01 20:00   ` Brian Inglis
     [not found]     ` <2123170882.1351117.1696245249986.JavaMail.yahoo@mail.yahoo.co.jp>
2023-10-02 16:38       ` Brian Inglis
2023-10-02 17:04         ` Brian Inglis
     [not found]           ` <94970509.1372740.1696323354692.JavaMail.yahoo@mail.yahoo.co.jp>
2023-10-03 16:57             ` Brian Inglis
2023-10-03 23:17               ` texrayk-frm
2023-10-04 17:49                 ` ASSI
     [not found]                 ` <49139.5523118385$1696441841@news.gmane.org>
2023-10-05 17:41                   ` ASSI
2023-10-07  6:49                     ` Brian Inglis [this message]
2023-10-10 12:15                       ` texrayk-frm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=97289eaa-801c-4753-be8d-3c754c73b03f@Shaw.ca \
    --to=brian.inglis@shaw.ca \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).