#3813: mutt-1.5.24: mutt (with imap header caching enabled) crash
----------------------+---------------------
Reporter: william | Owner: brendan
Type: defect | Status: closed
Priority: major | Milestone:
Component: IMAP | Version:
Resolution: fixed | Keywords:
----------------------+---------------------
Changes (by Kevin McCarthy <kevin@…>):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"aff8d62ebddb7a15dd0f437e7177539403c2d56f"]:
{{{
#!CommitTicketReference repository=""
revision="aff8d62ebddb7a15dd0f437e7177539403c2d56f"
Fix crash in hcache_open_tc() when open fails and debug is on. (closes
#3813)
When the hcache open fails, it was trying to dprint. The dprint had a
%s where it was passing errno, leading to a crash in strlen.
Unify the dprint messages for tcdbopen and tcdbclose to report the
path, strerror, and errno.
Thanks to Will Yardley for capturing the stack trace!
}}}
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3813#comment:3>
Mutt <http://www.mutt.org/>
The Mutt mail user agent