]> granicus.if.org Git - neomutt/commit
Fix potential segv if mx_open_mailbox is passed an empty string. (closes #3945)
authorTAKAHASHI Tamotsu <ttakah@lapis.plala.or.jp>
Mon, 22 May 2017 12:08:58 +0000 (05:08 -0700)
committerTAKAHASHI Tamotsu <ttakah@lapis.plala.or.jp>
Mon, 22 May 2017 12:08:58 +0000 (05:08 -0700)
commitefc4a046769036d092989c4168f1293bd60fe8b8
tree73ce869c9e4fb056276f7d8641721ad4a90d0962
parenta0f304e80896101a7a7482e5d41f17cbc5d6989d
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.
mx.c