#3779: segfault on OSX during cert acceptance prompt
-------------------------+---------------------
Reporter: balderdash | Owner: brendan
Type: defect | Status: new
Priority: major | Milestone:
Component: IMAP | Version: 1.5.23
Resolution: | Keywords:
-------------------------+---------------------
Comment (by Kevin McCarthy <kevin@…>):
In [ac156dcc2c54190491c5ab61fa865ec5cccc0e6f]:
{{{
#!CommitTicketReference repository=""
revision="ac156dcc2c54190491c5ab61fa865ec5cccc0e6f"
Fix menu type in certificate prompt. (see #3779)
The menu type is used in several places as a direct index into
Keymaps[], so passing in -1 to mutt_new_menu() was leading to illegal
memory accesses later on.
Add a range check in mutt_new_menu(), defaulting to MENU_GENERIC, to
prevent this problem in the future.
}}}
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3779#comment:16>
Mutt <http://www.mutt.org/>
The Mutt mail user agent