MIME boundaries ending with "--"

Matt Garretson mattg at assembly.state.ny.us
Thu Feb 26 21:38:19 CET 2015


On 2/26/2015 3:25 PM, Matt Garretson wrote:
> I grabbed revision 7027 


BTW in case it's not expected, this revision fails
t.passthrough-truncation on my system, Fedora Core 21 x86_64.
The log file was empty, so i manually ran the gunzip'd test file thru
bogolexer and got the attached back trace.



-------------- next part --------------
normal mode.
get_token: 1 "head:From"
get_token: 1 "head:foo"
get_token: 1 "head:example.com"
get_token: 1 "head:Mon"
get_token: 1 "head:Jun"
get_token: 1 "head:MIME-Version"
get_token: 1 "head:Content-Type"
get_token: 1 "head:multipart"
get_token: 1 "head:mixed"
get_token: 1 "head:Content-Length"
get_token: 1 "This"
get_token: 1 "multi-part"
get_token: 1 "message"
get_token: 1 "MIME"
get_token: 1 "format"
get_token: 1 "mime:Content-Type"
get_token: 1 "mime:text"
get_token: 1 "mime:html"
get_token: 1 "mime:filename.doc"
get_token: 1 "mime:Content-Transfer-Encoding"
get_token: 1 "mime:base64"
*** Error in `../bogolexer': realloc(): invalid next size: 0x0000000000e1a770 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7850e)[0x7f5c8bb3c50e]
/lib64/libc.so.6(+0x82cbe)[0x7f5c8bb46cbe]
/lib64/libc.so.6(realloc+0xee)[0x7f5c8bb48b9e]
../bogolexer[0x406740]
../bogolexer[0x407e9a]
../bogolexer[0x401998]
/lib64/libc.so.6(__libc_start_main+0xf0)[0x7f5c8bae3fe0]
../bogolexer[0x401a92]
======= Memory map: ========
00400000-0041c000 r-xp 00000000 fd:00 8791159                            /home/mattg/src/bogofilter-code/bogofilter/src/bogolexer
0061b000-0061c000 r--p 0001b000 fd:00 8791159                            /home/mattg/src/bogofilter-code/bogofilter/src/bogolexer
0061c000-0061d000 rw-p 0001c000 fd:00 8791159                            /home/mattg/src/bogofilter-code/bogofilter/src/bogolexer
0061d000-00620000 rw-p 00000000 00:00 0
00e0c000-00e2d000 rw-p 00000000 00:00 0                                  [heap]
7f5c8b49d000-7f5c8b4b3000 r-xp 00000000 fd:00 12072079                   /usr/lib64/libgcc_s-4.9.2-20150212.so.1
7f5c8b4b3000-7f5c8b6b2000 ---p 00016000 fd:00 12072079                   /usr/lib64/libgcc_s-4.9.2-20150212.so.1
7f5c8b6b2000-7f5c8b6b3000 r--p 00015000 fd:00 12072079                   /usr/lib64/libgcc_s-4.9.2-20150212.so.1
7f5c8b6b3000-7f5c8b6b4000 rw-p 00016000 fd:00 12072079                   /usr/lib64/libgcc_s-4.9.2-20150212.so.1
7f5c8b6b4000-7f5c8b6b6000 r-xp 00000000 fd:00 12453282                   /usr/lib64/gconv/ISO8859-1.so
7f5c8b6b6000-7f5c8b8b5000 ---p 00002000 fd:00 12453282                   /usr/lib64/gconv/ISO8859-1.so
7f5c8b8b5000-7f5c8b8b6000 r--p 00001000 fd:00 12453282                   /usr/lib64/gconv/ISO8859-1.so
7f5c8b8b6000-7f5c8b8b7000 rw-p 00002000 fd:00 12453282                   /usr/lib64/gconv/ISO8859-1.so
7f5c8b8b7000-7f5c8b8c3000 r-xp 00000000 fd:00 12059234                   /usr/lib64/libnss_files-2.20.so
7f5c8b8c3000-7f5c8bac2000 ---p 0000c000 fd:00 12059234                   /usr/lib64/libnss_files-2.20.so
7f5c8bac2000-7f5c8bac3000 r--p 0000b000 fd:00 12059234                   /usr/lib64/libnss_files-2.20.so
7f5c8bac3000-7f5c8bac4000 rw-p 0000c000 fd:00 12059234                   /usr/lib64/libnss_files-2.20.so
7f5c8bac4000-7f5c8bc78000 r-xp 00000000 fd:00 12059216                   /usr/lib64/libc-2.20.so
7f5c8bc78000-7f5c8be77000 ---p 001b4000 fd:00 12059216                   /usr/lib64/libc-2.20.so
7f5c8be77000-7f5c8be7b000 r--p 001b3000 fd:00 12059216                   /usr/lib64/libc-2.20.so
7f5c8be7b000-7f5c8be7d000 rw-p 001b7000 fd:00 12059216                   /usr/lib64/libc-2.20.so
7f5c8be7d000-7f5c8be81000 rw-p 00000000 00:00 0
7f5c8be81000-7f5c8bf88000 r-xp 00000000 fd:00 12059224                   /usr/lib64/libm-2.20.so
7f5c8bf88000-7f5c8c187000 ---p 00107000 fd:00 12059224                   /usr/lib64/libm-2.20.so
7f5c8c187000-7f5c8c188000 r--p 00106000 fd:00 12059224                   /usr/lib64/libm-2.20.so
7f5c8c188000-7f5c8c189000 rw-p 00107000 fd:00 12059224                   /usr/lib64/libm-2.20.so
7f5c8c189000-7f5c8c1aa000 r-xp 00000000 fd:00 12059179                   /usr/lib64/ld-2.20.so
7f5c8c399000-7f5c8c39c000 rw-p 00000000 00:00 0
7f5c8c39f000-7f5c8c3a0000 rw-p 00000000 00:00 0
7f5c8c3a0000-7f5c8c3a7000 r--s 00000000 fd:00 12453360                   /usr/lib64/gconv/gconv-modules.cache
7f5c8c3a7000-7f5c8c3aa000 rw-p 00000000 00:00 0
7f5c8c3aa000-7f5c8c3ab000 r--p 00021000 fd:00 12059179                   /usr/lib64/ld-2.20.so
7f5c8c3ab000-7f5c8c3ac000 rw-p 00022000 fd:00 12059179                   /usr/lib64/ld-2.20.so
7f5c8c3ac000-7f5c8c3ad000 rw-p 00000000 00:00 0
7fff25254000-7fff25275000 rw-p 00000000 00:00 0                          [stack]
7fff25386000-7fff25388000 r--p 00000000 00:00 0                          [vvar]
7fff25388000-7fff2538a000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Aborted (core dumped)


More information about the bogofilter mailing list