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

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



* Wed May 25 2005 Vincent Lefevre <vincent@xxxxxxxxxx>
> 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

Sorry for that. But I can't reproduce it, with any
"color index" settings.

Could you tell me a minimum muttrc to make
"mutt -nF /the/muttrc" crash? (Maybe "color" and "*-hook".)
And headers of a message which caused the problem?
(Please tell me the raw headers. e.g. unset $pipe_decode
and pipe it. Because mutt's pager shows dequoted ones.)

If you had tried the previous (namequot.1) patch,
Hadn't it crashed at the same situation?

If you were using an already-existing hcache DB,
What occurs if you unset $header_cache?

You see this problem only with IMAP? Or both local
and IMAP?

Thanks for your help!
-- 
tamo