]> Dogcows Code - chaz/tar/commitdiff
Improve compression format recognition
authorSergey Poznyakoff <gray@gnu.org.ua>
Thu, 19 Feb 2015 15:00:58 +0000 (17:00 +0200)
committerSergey Poznyakoff <gray@gnu.org.ua>
Thu, 19 Feb 2015 15:00:58 +0000 (17:00 +0200)
Some comressed archives can pass the checksum test, which makes tar
treat them as uncompressed archives.

* src/buffer.c (check_compressed_archive): Test the checksum only
if the block we read looks like a valid tar header (i.e. has
a magic string).


No differences found
This page took 0.025098 seconds and 4 git commands to generate.