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...@bugzilla.spamassassin.org on 2005/08/10 04:01:10 UTC
[Bug 4524] New: broken header rule causes parser error
http://bugzilla.spamassassin.org/show_bug.cgi?id=4524
Summary: broken header rule causes parser error
Product: Spamassassin
Version: 3.1.0
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P5
Component: Libraries
AssignedTo: dev@spamassassin.apache.org
ReportedBy: quinlan@pathname.com
Some of this code should handle failures better. For example, check $pat
to make sure it matched before proceeding. The other errors and similar
code in the parser too.
devel/svn/trunk $ cat >> rules/70_testing.cf
header FOO bar
devel/svn/trunk/masses $ ./mass-check --file ../sample-nonspam.txt
Use of uninitialized value in substitution (s///) at
/usr/home/quinlan/devel/svn/trunk/masses/../lib/Mail/SpamAssassin/Conf/Parser.pm
line 791.
Use of uninitialized value in pattern match (m//) at
/usr/home/quinlan/devel/svn/trunk/masses/../lib/Mail/SpamAssassin/Conf/Parser.pm
line 864.
Use of uninitialized value in concatenation (.) or string at
/usr/home/quinlan/devel/svn/trunk/masses/../lib/Mail/SpamAssassin/Conf/Parser.pm
line 865.
config: invalid regexp for rule FOO: : missing or invalid delimiters
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.