[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] segfault with -T empty -T valid
From: |
Pavel Raiskup |
Subject: |
Re: [Bug-tar] segfault with -T empty -T valid |
Date: |
Tue, 23 Jul 2013 13:12:49 +0200 |
User-agent: |
KMail/4.10.4 (Linux/3.9.9-301.fc19.x86_64; KDE/4.10.4; x86_64; ; ) |
> Hello,
> I discovered this recently. It it is always reproducible for me on
> CentOS 6.4, Fedora 14 - 19, Ubuntu 12.04 (versions 1.23 and 1.26).
> CentOS 4 and 5 are ok.
>
> cd /tmp; > empty; echo . > valid; tar cf /dev/null -T empty -T valid
> Segmentation fault (core dumped)
Thanks for the report. It was easily reproducible on my Fedora 19 box.
Possible fix is in attachment, Pavel
0001-tar-fix-T-option-for-empty-and-corrupted-files.patch
Description: Text Data