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

mutt/2197: segfault on imap-fetch-mail if imap server connect failed



>Number:         2197
>Notify-List:    
>Category:       mutt
>Synopsis:       segfault on imap-fetch-mail if imap server connect failed
>Confidential:   no
>Severity:       normal
>Priority:       low
>Responsible:    mutt-dev
>State:          open
>Keywords:       
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 20 23:15:00 +0100 2006
>Originator:     Mike Hallock
>Release:        1.5.11
>Organization:
>Environment:
Linux
>Description:
The imap-fetch-mail command will cause a segfault if you have not successfully 
authenticated to an imap server.
>How-To-Repeat:
Attempt to open an imap mailbox, but give wrong credentials.  Then issue an 
imap-fetch-mail command.
>Fix:
Change curs_main.c:998 to:
if (Context && Context->magic == M_IMAP)
>Add-To-Audit-Trail:

>Unformatted: