Hi All,

Apologies if this is a completely broken email i'm not subscribed and am trying to reply from the archive.

> Thanks for the bug report. How about the attached patch instead? It's a bit more conservative than what you proposed. (I haven't tested it.)

We tested the0001-Retry-file-creation-more-aggressively.patch for a customer and found it was possible to cause tar to hang indefinitely while extracting one of the test files from the go test suite. The initial patch from this thread didn't have the same issue. Reproducer below.

wget https://go.dev/src/archive/tar/testdata/pax-global-records.tar

tar --force-local --no-unquote -xfax-global-records.tar Thanks

--
Simon Lees (Simotek)http://simotek.net

Emergency Update Team                           keybase.io/simotek
SUSE Linux                           Adelaide Australia, UTC+10:30
GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to