imap/2188: mutt-1.5.11: Segfault when using folder-name completion
>Number: 2188
>Notify-List:
>Category: imap
>Synopsis: mutt-1.5.11: Segfault when using folder-name completion
>Confidential: no
>Severity: minor
>Priority: low
>Responsible: mutt-dev
>State: open
>Keywords:
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Feb 28 10:57:48 +0100 2006
>Originator: Volker Stolz
>Release:
>Organization:
>Environment:
>Description:
Currently, I'm disconnected from my local IMAP-server since the password
expired and needs updated.
Therefor, I NFS-mounted the mail-spool on my local machine and read it with
"mutt -f /var/mail/foo".
If I want to save an item and use TAB for completing the folder name "=foo",
mutt segfaults.
Backtrace:
#0 0x80b41c2 in imap_complete_hosts (dest=0xbfbfe3e0
"imaps://atlas/Mail/freebsd", len=255) at imap.c:1616
1616 for (conn = mutt_socket_head (); conn->next; conn = conn->next)
(gdb) bt
#0 0x80b41c2 in imap_complete_hosts (dest=0xbfbfe3e0
"imaps://atlas/Mail/freebsd", len=255) at imap.c:1616
#1 0x80b436a in imap_complete (dest=0xbfbfe3e0 "imaps://atlas/Mail/freebsd",
dlen=255,
path=0xbfbfda20 "imaps://atlas/Mail/fre") at imap.c:1671
#2 0x805802b in mutt_complete (s=0xbfbfe3e0 "imaps://atlas/Mail/freebsd",
slen=255) at complete.c:68
#3 0x80650b4 in _mutt_enter_string (buf=0xbfbfe3e0
"imaps://atlas/Mail/freebsd", buflen=255, y=44, x=17, flags=34,
multiple=0, files=0x0, numfiles=0x0, state=0x80fcea0) at enter.c:561
#4 0x805ced0 in _mutt_get_field (field=0x80fce80 "Save to mailbox: ",
buf=0xbfbfe3e0 "imaps://atlas/Mail/freebsd",
buflen=255, complete=34, multiple=0, files=0x0, numfiles=0x0) at
curs_lib.c:132
#5 0x805db72 in _mutt_enter_fname (prompt=0xbfbfe4e0 "Save to mailbox",
buf=0xbfbfe3e0 "imaps://atlas/Mail/freebsd",
blen=255, redraw=0x8101494, buffy=0, multiple=0, files=0x0, numfiles=0x0)
at curs_lib.c:510
#6 0x805764c in mutt_save_message (h=0x8101300, delete=1, decode=0, decrypt=0,
redraw=0x8101494) at commands.c:762
#7 0x8060810 in mutt_index_menu () at curs_main.c:1382
#8 0x8074005 in main (argc=3, argv=0xbfbff37c) at main.c:957
>How-To-Repeat:
See above, you probably need a configured IMAP-account which you currently
can't log in to.
>Fix:
Unknown
>Add-To-Audit-Trail:
>Unformatted: