#3644: segmentation fault when viewing an application/x-sh attachment
-----------------------+----------------------
Reporter: vinc17 | Owner: me
Type: defect | Status: assigned
Priority: critical | Milestone:
Component: mutt | Version:
Resolution: | Keywords:
-----------------------+----------------------
Comment (by kevin8t8):
Thanks for the review and improved reformatting. I just tested and
confirmed the patch works.
Do we want to check the return value of mutt_save_attachment() though? I
notice originally the code looked like
{{{
if (mutt_save_attachment (fp, a, pagerfile, 0, NULL))
goto return_error;
}}}
but the current patch dropped the return value check.
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3644#comment:4>
Mutt <http://www.mutt.org/>
The Mutt mail user agent