]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blob - src/patches/bash/bash32-051
Merge branch 'strongswan-5' into thirteen
[people/teissler/ipfire-2.x.git] / src / patches / bash / bash32-051
1 BASH PATCH REPORT
2 =================
3
4 Bash-Release: 3.2
5 Patch-ID: bash32-051
6
7 Bug-Reported-by: werner@suse.de
8 Bug-Reference-ID: <201002251238.o1PCcYcg016893@boole.suse.de>
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2010-02/msg00132.html
10
11 Bug-Description:
12
13 When the `read' builtin times out after the timeout specified with -t is
14 exceeded, it does not reset the flags that tell signal handlers to process
15 signals immediately instead of deferring their handling. This can result
16 in unsafe functions being called from signal handlers, which can cause bash
17 to hang or dump core.
18
19 Patch:
20
21 *** ../bash-3.2-patched/builtins/read.def 2008-04-29 21:25:00.000000000 -0400
22 --- builtins/read.def 2010-03-17 09:50:51.000000000 -0400
23 ***************
24 *** 327,330 ****
25 --- 327,332 ----
26 if (code)
27 {
28 + interrupt_immediately--;
29 + terminate_immediately = 0;
30 run_unwind_frame ("read_builtin");
31 return (EXECUTION_FAILURE);
32 *** ../bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006
33 --- patchlevel.h Mon Oct 16 14:22:54 2006
34 ***************
35 *** 26,30 ****
36 looks for to find the patch level (for the sccs version string). */
37
38 ! #define PATCHLEVEL 50
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 51
45
46 #endif /* _PATCHLEVEL_H_ */