https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6649

--- Comment #3 from Darxus <[email protected]> 2011-08-15 20:47:05 UTC ---
scanner2.re is written by sa-compile.  In trunk, scanner2.re is opened for
writing on line 389, and it looks like the corrupted output is printed on line
431:

431   print $re "\t",
432          
Mail::SpamAssassin::Plugin::BodyRuleBaseExtractor::fixup_re($regexp),
433           "            {RET(\"$reason\");}\n"
434           or die "error writing: $!";

re2c is then run on this output on line 455.

I'm thinking the best solution would be to modify
Mail::SpamAssassin::Plugin::BodyRuleBaseExtractor::fixup_re() to escape the
linefeed in its output, if re2c (which is not part of spamassassin) has a
mechanism for escaping it.

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to