Skip Menu |

This queue is for tickets about the Archive-Tar CPAN distribution.

Report information
The Basics
Id: 127139
Status: new
Priority: 0/
Queue: Archive-Tar

People
Owner: Nobody in particular
Requestors: trichmond [...] proofpoint.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Overly strict check on null bytes at end of tar header
Date: Tue, 18 Sep 2018 16:32:00 +0000
To: "bug-Archive-Tar [...] rt.cpan.org" <bug-Archive-Tar [...] rt.cpan.org>
From: Todd Richmond <trichmond [...] proofpoint.com>
Some tarfiles in the wild have garbage in the last 12 padding bytes before a 512 byte block boundary rather than 0s – likely because they aren’t initializing the unused space. The check at line 377 of Archive/Tar.pm should be allowed to be skipped for users who don’t require strict conformance and instead need to open every possible tar file. Any config method is fine such as IGNORE_PADDING_CHECK