Dnia November 27, 2018 11:55:06 AM UTC, Sergey Poznyakoff <g...@gnu.org.ua> 
napisał(a):
>Sergey Poznyakoff <g...@gnu.org.ua> ha escrit:
>
>> Before attempting compression format identification, tar tests if
>> the first block read is a valid tar header block. However, the
>> test itself is stricter than necessary. The following patch should
>> fix this:
>
>This, however, will mistakingly qualify some compressed archives as
>uncompressed (see commit 1847ec67cec36a17354115374954fea211d1f0da),
>so definitely the test must be more sophisticated.

Do you have a test case for it maybe? I think getting a valid bz2 stream that 
happens to match tar checksum is rather too hard for my skills.

>
>Regards,
>Sergey


--
Best regards, 
Michał Górny

Reply via email to