--- Begin Message ---
Subject: |
The CVE-2022-48337 fix seems to introduce a memory leak |
Date: |
Sun, 26 Feb 2023 12:40:45 +0200 |
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.
cu
Adrian
[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59817#23
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#61819: The CVE-2022-48337 fix seems to introduce a memory leak |
Date: |
Sun, 26 Feb 2023 20:04:11 +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.
--- End Message ---