https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7899

            Bug ID: 7899
           Summary: Rules tarball doesn't work with Perl 5.28
           Product: Spamassassin
           Version: unspecified
          Hardware: PC
                OS: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sa-update
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: Undefined

Since the morning of 2021-04-17, sa-update has been throwing out a whole lot of
these errors for me:

Invalid header block at offset unknown at /opt/local/bin/sa-update line 1319.

However, it has not failed hard but has instead unpacked all rules files
*EXCEPT* 'rules/languages'. That's not a good failure mode.

This problem is peculiar to Archive::Tar 2.30, from the Perl 5.28 base:
(bsd)tar from libarchive and Archive::Tar 2.32 in Perl 5.30 handle whatever the
oddity is in the tarball. 

The last change to rules/languages was r1888898 of 2021-04-18 for Bug #6364.
Before that, it had been static since 2005. This means that the change to that
file was *NOT* the cause of the bad tarball, but it does raise a question: how
is rules/languages generated, where is it documented, and what it its format?
An undocumented binary blob seems like a bad idea in general.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to