#3825: [PATCH] BUG: Fix error-checking of convert_string()
----------------------+----------------------
Reporter: flatcap | Owner: mutt-dev
Type: defect | Status: closed
Priority: major | Milestone:
Component: build | Version: 1.5.24
Resolution: fixed | Keywords: patch
----------------------+----------------------
Changes (by Kevin McCarthy <kevin@…>):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"b8240918ededa3db99e9181d7203a816fee502e7"]:
{{{
#!CommitTicketReference repository=""
revision="b8240918ededa3db99e9181d7203a816fee502e7"
Fix potential memory leak in rfc2047_encode. (closes #3825)
If convert_string() has nonreversible characters, the allocated output
buffer would be overwritten (and not freed) in rfc2047_encode().
Thanks to Richard Russon for the bug report and initial patch, and to
TAKAHASHI Tamotsu for the analysis and revised fix suggestion.
}}}
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3825#comment:3>
Mutt <http://www.mutt.org/>
The Mutt mail user agent