slackware-current/source/a/bash/bash-5.2-patches/bash52-031
Patrick J Volkerding 58d830884f Thu Aug 1 23:47:15 UTC 2024
a/bash-5.2.032-x86_64-1.txz:  Upgraded.
d/mercurial-6.8.1-x86_64-1.txz:  Upgraded.
l/pipewire-1.2.2-x86_64-1.txz:  Upgraded.
l/spirv-llvm-translator-18.1.3-x86_64-1.txz:  Upgraded.
n/php-8.3.10-x86_64-1.txz:  Upgraded.
  This is a bugfix release.
  For more information, see:
    https://www.php.net/ChangeLog-8.php#8.3.10
2024-08-02 02:30:06 +02:00

46 lines
1.1 KiB
Text

BASH PATCH REPORT
=================
Bash-Release: 5.2
Patch-ID: bash52-031
Bug-Reported-by: Grisha Levit <grishalevit@gmail.com>
Bug-Reference-ID: <CAMu=BrrD52xxF7C9Ke1fosAurHq1kz82t7FcHsrPBw9CbAst6A@mail.gmail.com>
Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2023-06/msg00045.html
Bug-Description:
There is a memory leak in the code that implements the optimized $(<file)
expansion for some code paths.
Patch (apply with `patch -p0'):
*** ../bash-5.2-patched/builtins/evalstring.c Tue Dec 13 12:53:21 2022
--- builtins/evalstring.c Tue Nov 28 17:25:39 2023
***************
*** 763,766 ****
--- 773,779 ----
if (fnp)
*fnp = fn;
+ else
+ free (fn);
+
return fd;
}
*** ../bash-5.2/patchlevel.h 2020-06-22 14:51:03.000000000 -0400
--- patchlevel.h 2020-10-01 11:01:28.000000000 -0400
***************
*** 26,30 ****
looks for to find the patch level (for the sccs version string). */
! #define PATCHLEVEL 30
#endif /* _PATCHLEVEL_H_ */
--- 26,30 ----
looks for to find the patch level (for the sccs version string). */
! #define PATCHLEVEL 31
#endif /* _PATCHLEVEL_H_ */