#3826: [PATCH] Fix Resource leaks on error paths
---------------------+----------------------
 Reporter:  flatcap  |      Owner:  mutt-dev
     Type:  defect   |     Status:  new
 Priority:  minor    |  Milestone:
Component:  build    |    Version:  1.5.24
 Keywords:  patch    |
---------------------+----------------------
 pgp.c - pgp_application_pgp_handler()

 Ensure: file handles are closed and memory is freed on all code paths.

 Bugfix: If a PGP message has 2+ 'Charset' headers, memory is leaked.
 Now, we warn the user, use the last 'Charset' found (and don't leak).

 Sorry, this breaks the "string freeze".  The translation could be
 ignored for now.

--
Ticket URL: <https://dev.mutt.org/trac/ticket/3826>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to