#3779: segfault on OSX during cert acceptance prompt
-------------------------+---------------------
  Reporter:  balderdash  |      Owner:  brendan
      Type:  defect      |     Status:  closed
  Priority:  major       |  Milestone:
 Component:  IMAP        |    Version:  1.5.23
Resolution:  fixed       |   Keywords:
-------------------------+---------------------
Changes (by Kevin McCarthy <kevin@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [a07e8215a0efdbf73bdcc5280b5acb3a964c4708]:
 {{{
 #!CommitTicketReference repository=""
 revision="a07e8215a0efdbf73bdcc5280b5acb3a964c4708"
 Create a separate macro/push/exec event buffer.  (closes #3779)

 Currently, the SSL and TLS certficate prompts turn on
 OPTUNBUFFEREDINPUT, (to prevent macros and such from running right
 through the dialog).  Unfortunately, the menu dialog processing in
 menu_dialog_dokey() is using mutt_ungetch() to forward non-dialog keys
 on to standard menu processing.  With OPTUNBUFFEREDINPUT set, those keys
 never make it to the menu and are buffered until after the menu dialog.

 This patch creates a new event buffer, separate from the standard
 "unget" buffer, for use by macros, exec, and push events.  These events
 can be temporarily ignored by setting OPTIGNOREMACROEVENTS (renamed
 from OPTUNBUFFEREDINPUT), while continuing to allow unget events to be
 processed.

 Since the "push" and "unget" functions now go to different buffers,
 function names were slightly renamed, to make it less easy to
 unintentionally use the wrong function at the wrong time.
 }}}

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3779#comment:17>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to