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 2022/05/17 15:22:23 UTC

[Bug 7994] New: Plugin ASN.pm, AskDNS.pm: return early if $pkt is undefined

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

            Bug ID: 7994
           Summary: Plugin ASN.pm, AskDNS.pm: return early if $pkt is
                    undefined
           Product: Spamassassin
           Version: 4.0.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Plugins
          Assignee: dev@spamassassin.apache.org
          Reporter: sa-mst@lrz.de
  Target Milestone: Undefined

Both plugins have a comment

  # NOTE: $pkt will be undef if the DNS query was aborted (e.g. timed out)

However, instead of returning immediately, the plugins go on, but at the end do
nothing. This makes the understanding of the code more difficult than needed.

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

[Bug 7994] Plugin ASN.pm, AskDNS.pm: return early if $pkt is undefined

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

Henrik Krohns <ap...@hege.li> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |apache@hege.li
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Henrik Krohns <ap...@hege.li> ---
Quick cleanup done..

Committed revision 1901082.

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