From: Eli Zaretskii <eliz@gnu.org>
To: Adrian Bunk <bunk@debian.org>
Cc: 61819-done@debbugs.gnu.org
Subject: bug#61819: The CVE-2022-48337 fix seems to introduce a memory leak
Date: Sun, 26 Feb 2023 20:04:11 +0200 [thread overview]
Message-ID: <83cz5wi9r8.fsf@gnu.org> (raw)
In-Reply-To: <Y/s3LYVXZgpoZyP4@localhost> (message from Adrian Bunk on Sun, 26 Feb 2023 12:40:45 +0200)
> Date: Sun, 26 Feb 2023 12:40:45 +0200
> From: Adrian Bunk <bunk@debian.org>
>
> In the upstream bug for CVE-2022-48337 there was originally[1]
> + free (new_real_name);
> + free (new_tmp_name);
> in the fix that later disappeared (by accident?).
>
> This seems to introduce a memory leak, this memory allocated
> by escape_shell_arg_string() is now never freed.
Thanks, fixed.
prev parent reply other threads:[~2023-02-26 18:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-26 10:40 bug#61819: The CVE-2022-48337 fix seems to introduce a memory leak Adrian Bunk
2023-02-26 18:04 ` Eli Zaretskii [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83cz5wi9r8.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=61819-done@debbugs.gnu.org \
--cc=bunk@debian.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.