You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by he...@apache.org on 2019/06/09 10:16:29 UTC

svn commit: r1860891 - /spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/Pyzor.pm

Author: hege
Date: Sun Jun  9 10:16:29 2019
New Revision: 1860891

URL: http://svn.apache.org/viewvc?rev=1860891&view=rev
Log:
Bug 7658 - Pyzor error: Use of uninitialized value $response[0] in pattern match (m//)

Modified:
    spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/Pyzor.pm

Modified: spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/Pyzor.pm
URL: http://svn.apache.org/viewvc/spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/Pyzor.pm?rev=1860891&r1=1860890&r2=1860891&view=diff
==============================================================================
--- spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/Pyzor.pm (original)
+++ spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/Pyzor.pm Sun Jun  9 10:16:29 2019
@@ -300,6 +300,7 @@ sub pyzor_lookup {
     if (!@response) {
       # this exact string is needed below
       warn("no response\n");	# yes, this is possible
+      return;
     }
     chomp for @response;
     dbg("pyzor: got response: " . join("\\n", @response));