severity 259146 important
thanks
This actually causes a segfault in libc6 memcpy() on some weirdo
subject lines (actually seen in the wild). See attached config
and folder as testcase.
LD_PRELOAD=/usr/lib/debug/libc-2.3.5.so ./mutt -F x -f xz1
...results in SIGSEGV. Backtrace:
#0 0xb7e62927 in *__GI_memcpy (dstpp=0xbfb27eee, srcpp=0xbfb2779c,
len=4294967291) at ../sysdeps/generic/memcpy.c:55
#1 0x080abb13 in mutt_FormatString (dest=0xbfb27dec "[[[�?����ڰ� 200���̸�
������]]]����/�볳 5000��_������ ���?����� 5���̳� �����մϴ�fable c q", ' '
<repeats 12 times>..., destlen=Variable "destlen" is not available.) at
muttlib.c:1047
#2 0x080752f0 in _mutt_make_string (dest=0xbfb27dec "[[[�?����ڰ� 200���̸�
������]]]����/�볳 5000��_������ ���?����� 5���̳� �����մϴ�fable c q", ' '
<repeats 12 times>..., destlen=256, s=0x81ba498 "%s %> %4c", ctx=0xfffffffb,
hdr=0xfffffffb, flags=100) at hdrline.c:717
#3 0x08060a56 in index_make_entry (s=0xbfb27dec "[[[�?����ڰ� 200���̸�
������]]]����/�볳 5000��_������ ���?����� 5���̳� �����մϴ�fable c q", ' '
<repeats 12 times>..., l=256, menu=0x81c2ec0, num=-5) at curs_main.c:182
#4 0x0807df07 in menu_make_entry (s=Variable "s" is not available.) at
menu.c:154
#5 0x0807e156 in menu_redraw_index (menu=0x81c2ec0) at menu.c:214
Peter
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.12.3
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages mutt depends on:
ii libc6 2.3.5-3 GNU C Library: Shared libraries an
ii libc6-dbg 2.3.5-3 GNU C Library: Libraries with debu
ii libdb4.3 4.3.28-3 Berkeley v4.3 Database Libraries [
ii libgnutls11 1.0.16-13.1 GNU TLS library - runtime library
ii libidn11 0.5.18-1 GNU libidn library, implementation
ii libncursesw5 5.4-9 Shared libraries for terminal hand
ii libsasl2 2.1.19-1.5 Authentication abstraction library
ii postfix [mail-transport-agen 2.2.4-1 A high-performance mail transport
Versions of packages mutt recommends:
ii locales 2.3.5-3 GNU C Library: National Language (
ii mime-support 3.34-1 MIME files 'mime.types' & 'mailcap
set index_format="%s %> %4c"
>From [EMAIL PROTECTED] Fri Jul 1 09:39:25 2005
Subject: [[[�Ϸ����ڰ� 200���̸� ������]]]����/�볳 5000��_������ ���ͳ����� 5���̳�
�����մϴ�fable c q
x