#3945: mx_open_mailbox can call realpath(NULL,NULL) and abort --------------------------+---------------------- Reporter: tamo | Owner: mutt-dev Type: enhancement | Status: closed Priority: trivial | Milestone: Component: mutt | Version: Resolution: fixed | Keywords: --------------------------+---------------------- Changes (by TAKAHASHI Tamotsu <ttakah@…>):
* status: new => closed * resolution: => fixed Comment: In [changeset:"1ddf2641f3690f1c0ecc1d991dba6ca3cccc0f22" 7056:1ddf2641f369]: {{{ #!CommitTicketReference repository="" revision="1ddf2641f3690f1c0ecc1d991dba6ca3cccc0f22" Fix potential segv if mx_open_mailbox is passed an empty string. (closes #3945) If path is "", ctx->path will be NULL. realpath() generally will segv if the first parameter is NULL. }}} -- Ticket URL: <https://dev.mutt.org/trac/ticket/3945#comment:2> Mutt <http://www.mutt.org/> The Mutt mail user agent