spamassassin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzilla-dae...@spamassassin.apache.org
Subject [Bug 7830] New: Argument "1.20200513.1" isn't numeric in numeric ge (>=) at /usr/share/perl5/Mail/SpamAssassin/Plugin/DKIM.pm line 686.
Date Tue, 23 Jun 2020 16:18:39 GMT
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7830

            Bug ID: 7830
           Summary: Argument "1.20200513.1" isn't numeric in numeric ge
                    (>=) at
                    /usr/share/perl5/Mail/SpamAssassin/Plugin/DKIM.pm line
                    686.
           Product: Spamassassin
           Version: 3.4 SVN branch
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Plugins
          Assignee: dev@spamassassin.apache.org
          Reporter: frodo@morgul.net
  Target Milestone: Undefined

Created attachment 5704
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5704&action=edit
patch

Mail::DKIM::Verifier is a dependency of Mail::SpamAssassin::Plugin::DKIM

Mail::DKIM::Verifier exposes its version as "1.20200513.1", which is
non-numeric, via Mail::DKIM::Verifier->VERSION.

Mail::SpamAssassin::Plugin::DKIM attempts to perform a numeric comparison
against Mail::DKIM::Verifier->VERSION in two places, resulting in a perl
warning in the logs:

Jun 23 16:10:23 d53e3e9c1820 spamd[8651]: Argument "1.20200513.1" isn't numeric
in numeric ge (>=) at /usr/share/perl5/Mail/SpamAssassin/Plugin/DKIM.pm line
686.
Jun 23 16:10:23 d53e3e9c1820 spamd[8651]: Argument "1.20200513.1" isn't numeric
in numeric ge (>=) at /usr/share/perl5/Mail/SpamAssassin/Plugin/DKIM.pm line
809.

This is similar to the issue reported in several years ago in
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7095 and the fix is similar.
 See attachment.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message