http://bugzilla.spamassassin.org/show_bug.cgi?id=3699
Summary: spamassassin -lint should warn if a description is empty Product: Spamassassin Version: unspecified Platform: All OS/Version: other Status: NEW Severity: major Priority: P5 Component: spamassassin AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Without this patch you'll get: Use of uninitialized value in length at SpamAssassin/Conf/Parser.pm line 456 Fix: --- SpamAssassin/Conf/Parser.pm.orig Wed Aug 18 15:00:44 2004 +++ SpamAssassin/Conf/Parser.pm Wed Aug 18 15:00:23 2004 @@ -404,6 +404,11 @@ { # Check for description and score issues in lint fashion while ( ($k,$v) = each %{$conf->{descriptions}} ) { + if (!$v) { + warn "warning: description for $k is empty\n"; + $conf->{errors}++; + next; + } if (length($v) > 50) { warn "warning: description for $k is over 50 chars\n"; $conf->{errors}++; ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.