Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#61326 - [tar] extracting archives containing ./ entries with the -U option aborts

Attached to Project: Arch Linux
Opened by Armand (Kewl) - Wednesday, 09 January 2019, 17:43 GMT
Last edited by Sébastien Luttringer (seblu) - Tuesday, 15 January 2019, 02:47 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Trying to extract archives containing ./ entries with the -U option aborts.


Additional info:
* package version(s)1.31
* core dump
Jan 09 17:26:50 pc systemd-coredump[32288]: Process 32285 (tar) of user 1000 dumped core.
Stack trace of thread 32285:
#0 0x00007f3403467d7f raise (libc.so.6)
#1 0x00007f3403452672 abort (libc.so.6)
#2 0x000055d6151d507a n/a (tar)
#3 0x000055d6151e24c1 n/a (tar)
#4 0x000055d6151e2f30 n/a (tar)
#5 0x000055d6151ecb09 n/a (tar)
#6 0x000055d6151d5324 n/a (tar)
#7 0x00007f3403454223 __libc_start_main (libc.so.6)
#8 0x000055d6151d53ae n/a (tar)

Steps to reproduce:
$ tar cf - --no-recursion . | tar xUf -
Aborted
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Tuesday, 15 January 2019, 02:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  tar-1.31-2
Comment by Armand (Kewl) - Wednesday, 09 January 2019, 17:58 GMT
Apologies I pressed submit too quickly, severity should be high and the title 'extracting archives containing ./ entries with the -U option aborts'
Comment by Eli Schwartz (eschwartz) - Wednesday, 09 January 2019, 18:23 GMT
Since you mentioned this bug on IRC before submitting the bugreport here, it would behoove you to also link to the upstream bug report you linked on IRC.

https://lists.gnu.org/archive/html/bug-tar/2019-01/msg00015.html
Comment by Armand (Kewl) - Wednesday, 09 January 2019, 18:27 GMT
yes my mistake, I intended to but pressed submit inadvertently
Comment by Armand (Kewl) - Thursday, 10 January 2019, 07:07 GMT
see also this similar issue I reported upstream, looking at the code this is probably related:
https://lists.gnu.org/archive/html/bug-tar/2019-01/msg00021.html
Comment by Sébastien Luttringer (seblu) - Monday, 14 January 2019, 14:08 GMT
A patched version (tar-1.31-2) is entering in testing.
Comment by Armand (Kewl) - Monday, 14 January 2019, 19:08 GMT
Sebastien, the issue is fixed in the testing version, this is very appreciated, thanks very much
it passes the test `mkdir d;touch d/file;tar cf - --no-recursion d | tar xf - --keep-newer-files`.
Please release in stable this regression correction.

Loading...