]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/bash/bash52-025
suricata: Change midstream policy to "pass-flow"
[people/pmueller/ipfire-2.x.git] / src / patches / bash / bash52-025
1 BASH PATCH REPORT
2 =================
3
4 Bash-Release: 5.2
5 Patch-ID: bash52-025
6
7 Bug-Reported-by: Andrew Neff <andrew.neff@visionsystemsinc.com>
8 Bug-Reference-ID: <SA1P110MB1357F68AFD51BB225019EFF48D2B9@SA1P110MB1357.NAMP110.PROD.OUTLOOK.COM>
9 Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2022-10/msg00100.html
10
11 Bug-Description:
12
13 Make sure a subshell checks for and handles any terminating signals before
14 exiting (which might have arrived after the command completed) so the parent
15 and any EXIT trap will see the correct value for $?.
16
17 Patch (apply with `patch -p0'):
18
19 *** ../bash-5.2.9/execute_cmd.c 2022-11-02 10:36:54.000000000 -0400
20 --- execute_cmd.c 2022-10-27 16:52:55.000000000 -0400
21 ***************
22 *** 1726,1729 ****
23 --- 1726,1732 ----
24 : EXECUTION_SUCCESS;
25
26 + /* Check for terminating signals before we return to our caller, which we
27 + expect to exit immediately anyway. */
28 + CHECK_TERMSIG;
29
30 /* If we were explicitly placed in a subshell with (), we need
31
32 *** ../bash-5.2/patchlevel.h 2020-06-22 14:51:03.000000000 -0400
33 --- patchlevel.h 2020-10-01 11:01:28.000000000 -0400
34 ***************
35 *** 26,30 ****
36 looks for to find the patch level (for the sccs version string). */
37
38 ! #define PATCHLEVEL 24
39
40 #endif /* _PATCHLEVEL_H_ */
41 --- 26,30 ----
42 looks for to find the patch level (for the sccs version string). */
43
44 ! #define PATCHLEVEL 25
45
46 #endif /* _PATCHLEVEL_H_ */