perl/Module-Build-Tiny: update to 0.051 for Perl 5.36 and 5.38
[oi-userland.git] / components / shell / bash / patches / bash52-031.patch
blob0210bb27862bd81706d105386a8a6203ef22ee99
1 BASH PATCH REPORT
2 =================
4 Bash-Release: 5.2
5 Patch-ID: bash52-031
7 Bug-Reported-by: Grisha Levit <grishalevit@gmail.com>
8 Bug-Reference-ID: <CAMu=BrrD52xxF7C9Ke1fosAurHq1kz82t7FcHsrPBw9CbAst6A@mail.gmail.com>
9 Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2023-06/msg00045.html
11 Bug-Description:
13 There is a memory leak in the code that implements the optimized $(<file)
14 expansion for some code paths.
16 Patch (apply with `patch -p0'):
18 *** ../bash-5.2-patched/builtins/evalstring.c Tue Dec 13 12:53:21 2022
19 --- builtins/evalstring.c Tue Nov 28 17:25:39 2023
20 ***************
21 *** 763,766 ****
22 --- 773,779 ----
23 if (fnp)
24 *fnp = fn;
25 + else
26 + free (fn);
28 return fd;
31 *** ../bash-5.2/patchlevel.h 2020-06-22 14:51:03.000000000 -0400
32 --- patchlevel.h 2020-10-01 11:01:28.000000000 -0400
33 ***************
34 *** 26,30 ****
35 looks for to find the patch level (for the sccs version string). */
37 ! #define PATCHLEVEL 30
39 #endif /* _PATCHLEVEL_H_ */
40 --- 26,30 ----
41 looks for to find the patch level (for the sccs version string). */
43 ! #define PATCHLEVEL 31
45 #endif /* _PATCHLEVEL_H_ */