<<< Date Index >>>     <<< Thread Index >>>

Re: [1.5.9 bug] Mutt discards the \ character before a digit in "To:"



On 2005-05-24 21:45:47 +0900, TAKAHASHI Tamotsu wrote:
> Updated: http://www.momonga-linux.org/~tamo/patch-1.5.9.tamo.namequot.2
> - Dequote personal names when viewing messages, too
> - Dequote backslashed characters, too

This patch makes Mutt crash (segmentation fault):

(gdb) bt
#0  0xb7da00dd in mallopt () from /lib/tls/libc.so.6
#1  0xb7d9ff6e in mallopt () from /lib/tls/libc.so.6
#2  0xb7d9edcb in free () from /lib/tls/libc.so.6
#3  0xb7de791b in re_exec () from /lib/tls/libc.so.6
#4  0xb7de6bf1 in regexec () from /lib/tls/libc.so.6
#5  0x0808deeb in match_adrlist (rx=0x81f9270, match_personal=1, 
    alladdr=137106176, n=2) at pattern.c:903
#6  0x0808e60c in mutt_pattern_exec (pat=0x81f9250, flags=137106160, ctx=0x0, 
    h=0x821fbb8) at pattern.c:1026
#7  0x0808dd97 in perform_and (pat=0x81f9250, flags=M_MATCH_FULL_ADDRESS, 
    ctx=0x8141518, hdr=0x821fbb8) at pattern.c:872
#8  0x0808e108 in mutt_pattern_exec (pat=0x81fa468, flags=137106160, 
    ctx=0x8141518, h=0x821fbb8) at pattern.c:962
#9  0x0806676c in mutt_set_header_color (ctx=0x8141518, curhdr=0x821fbb8)
    at curs_main.c:2130
#10 0x0805ff85 in index_color (index_no=0) at curs_main.c:179
#11 0x0807c8d8 in menu_redraw_index (menu=0x825d1b0) at menu.c:219
#12 0x08066491 in mutt_index_menu () at curs_main.c:552
#13 0x08079a90 in main (argc=1, argv=0xbfffeee4) at main.c:934

(CVS with just this patch applied)

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA