http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5486
Summary: segmentation fault
Product: Spamassassin
Version: 3.2.0
Platform: Other
URL: http://marc.info/?t=118042769600007&r=1&w=2
OS/Version: Linux
Status: NEW
Severity: major
Priority: P5
Component: spamassassin
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
The error occurs only with 3 specific messages having nearly the same contents.
SpamAssassin version 3.2.0
running on Perl version 5.8.8 built for i386-linux-thread-multi
spamassassin crashes when called by amavisd-new and in debug mode while using
the command line call.
I have used strace. Here is the end of the output:
brk(0xb48e000) = 0xb48e000
brk(0xb4af000) = 0xb4af000
brk(0xb4d0000) = 0xb4d0000
brk(0xb4f1000) = 0xb4f1000
brk(0xb513000) = 0xb513000
write(2, "[3932] dbg: rules: compiled rawb"..., 42) = 42
write(2, "[3932] dbg: rules: ran rawbody r"..., 80) = 80
write(2, "[3932] dbg: rules: ran rawbody r"..., 124) = 124
mremap(0xb7ae5000, 159744, 159744, MREMAP_MAYMOVE) = 0xb7ae5000
mremap(0xb7ae5000, 159744, 241664, MREMAP_MAYMOVE) = 0xb7ae5000
mremap(0xb7ae5000, 241664, 360448, MREMAP_MAYMOVE) = 0xb7ae5000
mremap(0xb7ae5000, 360448, 536576, MREMAP_MAYMOVE) = 0xb7ae5000
mremap(0xb7ae5000, 536576, 536576, MREMAP_MAYMOVE) = 0xb7ae5000
mremap(0xb7ae5000, 536576, 806912, MREMAP_MAYMOVE) = 0xb7ae5000
mremap(0xb7ae5000, 806912, 1208320, MREMAP_MAYMOVE) = 0xb79be000
mremap(0xb79be000, 1208320, 1208320, MREMAP_MAYMOVE) = 0xb79be000
mremap(0xb79be000, 1208320, 1810432, MREMAP_MAYMOVE) = 0xb79be000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
I have encountred the problem with the following rules:
70_sare_obfu1.cf:
rawbody __SARE_OBFU_TBL0
/<td(?:[^>'"]|"[^"]*"|'[^']*')*>(?:<(?!\/?td)(?:[^>'"]|"[^"]*"|'[^']*')*>){0,6}<\/td(?
\
:[^>'"]|"[^"]*"|'[^']*')*>/i
user_prefs:
rawbody WS_AFTER_HTML /\<\/html\>(?!$)/i
rawbody __WS_HTMLINDENT /\s+<\/?html>/i
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.