[packages/spamassassin] - patches

arekm arekm at pld-linux.org
Sun Jan 14 23:36:43 CET 2018


commit e5d6fa2edf8b76113f6cd4fb3ba6125778141c6e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Jan 14 23:36:37 2018 +0100

    - patches

 fix-uninitialized-concat | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
---
diff --git a/fix-uninitialized-concat b/fix-uninitialized-concat
new file mode 100644
index 0000000..1c62c99
--- /dev/null
+++ b/fix-uninitialized-concat
@@ -0,0 +1,25 @@
+Description: Import upstream fix for uninitialized value warning in Mail::SpamAssassin::PerMsgStatus::get_names_of_tests_hit_with_scores()
+Origin: https://svn.apache.org/viewvc?view=revision&revision=1685843
+Bug: https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7212
+Index: spamassassin-3.4.1/lib/Mail/SpamAssassin/PerMsgStatus.pm
+===================================================================
+--- spamassassin-3.4.1.orig/lib/Mail/SpamAssassin/PerMsgStatus.pm
++++ spamassassin-3.4.1/lib/Mail/SpamAssassin/PerMsgStatus.pm
+@@ -738,7 +738,7 @@ test names and individual scores of the
+ sub get_names_of_tests_hit_with_scores_hash {
+   my ($self) = @_;
+ 
+-  my ($line, %testsscores);
++  my (%testsscores);
+ 
+   #BASED ON CODE FOR TESTSSCORES TAG - KAM 2014-04-24
+   foreach my $test (@{$self->{test_names_hit}}) {
+@@ -763,6 +763,8 @@ sub get_names_of_tests_hit_with_scores {
+ 
+   my ($line, %testsscores);
+ 
++  $line = '';
++
+   #BASED ON CODE FOR TESTSSCORES TAG - KAM 2014-04-24
+   foreach my $test (sort @{$self->{test_names_hit}}) {
+     my $score = $self->{conf}->{scores}->{$test};
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/spamassassin.git/commitdiff/e5d6fa2edf8b76113f6cd4fb3ba6125778141c6e



More information about the pld-cvs-commit mailing list