#3797: mutt.core Signal 11 Segmentation Fault OpenBSD 5.4 -> Current
-------------------------+----------------------
Reporter: shepper | Owner: mutt-dev
Type: defect | Status: new
Priority: major | Milestone:
Component: maildir/mh | Version: 1.5.24
Resolution: | Keywords:
-------------------------+----------------------
Comment (by kevin8t8):
The line
{{{
2109: hash_insert (fnames, p->h->path, p, 0);
}}}
Should have been removed as part of applying the patch.
So, after applying the patch, mh.c should look like this instead:
{{{
2106 fnames = hash_create (1031, 0);
2107
2108 for (p = md; p; p = p->next)
2109 {
2110 /* the hash key must survive past the header, which is freed
below. */
2111 p->canon_fname = safe_strdup (p->h->path);
2112 hash_insert (fnames, p->canon_fname, p, 0);
2113 }
2114
}}}
Please give that a try, and let me know how it goes. Thank you!
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3797#comment:9>
Mutt <http://www.mutt.org/>
The Mutt mail user agent