You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@spamassassin.apache.org on 2020/06/23 16:18:39 UTC

[Bug 7830] New: Argument "1.20200513.1" isn't numeric in numeric ge (>=) at /usr/share/perl5/Mail/SpamAssassin/Plugin/DKIM.pm line 686.

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.

[Bug 7830] Argument "1.20200513.1" isn't numeric in numeric ge (>=) at /usr/share/perl5/Mail/SpamAssassin/Plugin/DKIM.pm line 686.

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7830

Bill Cole <bi...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
                 CC|                            |billcole@apache.org
             Status|NEW                         |RESOLVED

--- Comment #1 from Bill Cole <bi...@apache.org> ---
Fixed in r1879123 (3.4) and r1879125 (trunk)

Thanks!

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