#3819: imap_mailbox_rename uses an uninitialized string
--------------------------+---------------------
  Reporter:  tamo         |      Owner:  brendan
      Type:  enhancement  |     Status:  closed
  Priority:  minor        |  Milestone:
 Component:  IMAP         |    Version:
Resolution:  fixed        |   Keywords:
--------------------------+---------------------
Changes (by Kevin McCarthy <kevin@…>):

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


Comment:

 In [changeset:"27cde0a2fe32f9cb58531f098b81fb9cc1b2ddb8"]:
 {{{
 #!CommitTicketReference repository=""
 revision="27cde0a2fe32f9cb58531f098b81fb9cc1b2ddb8"
 Fix uninitialized prompt buffer in imap_mailbox_rename(). (closes #3819)

 This is a patch from OpenBSD to initialize the newname buffer in
 imap_mailbox_rename().  Previously it would generate random garbage in
 the prompt.

 This version of the patch initializes the prompt to the old mailbox name.

 Thanks to TAKAHASHI Tamotsu for finding this patch.
 }}}

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

Reply via email to