[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] The --verify option should fail asap when not used properly
From: |
Pavel Raiskup |
Subject: |
[Bug-tar] The --verify option should fail asap when not used properly |
Date: |
Wed, 26 Jun 2013 16:11:02 +0200 |
User-agent: |
KMail/4.10.4 (Linux/3.9.5-301.fc19.x86_64; KDE/4.10.4; x86_64; ; ) |
Hi, is there possible to fail as early as possible during e.g. trying of
--list & --verify the archive? Something like the patch attached?
If not, tar may fail hitting the abort() call:
$ tar -czf /tmp/test.tgz FILE
$ tar -tWvf /tmp/test.tgz
tar: This does not look like a tar archive
tar: Skipping to next header
Aborted (core dumped)
Original report is here:
http://bugzilla.redhat.com/977807
Pavel
0001-tar-fail-early-when-verify-list-passed.patch
Description: Text Data
- [Bug-tar] The --verify option should fail asap when not used properly,
Pavel Raiskup <=