]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blame - src/patches/bash/bash32-051
Merge remote-tracking branch 'origin/next' into thirteen
[people/teissler/ipfire-2.x.git] / src / patches / bash / bash32-051
CommitLineData
24acfa14
MT
1 BASH PATCH REPORT
2 =================
3
4Bash-Release: 3.2
5Patch-ID: bash32-051
6
7Bug-Reported-by: werner@suse.de
8Bug-Reference-ID: <201002251238.o1PCcYcg016893@boole.suse.de>
9Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2010-02/msg00132.html
10
11Bug-Description:
12
13When the `read' builtin times out after the timeout specified with -t is
14exceeded, it does not reset the flags that tell signal handlers to process
15signals immediately instead of deferring their handling. This can result
16in unsafe functions being called from signal handlers, which can cause bash
17to hang or dump core.
18
19Patch:
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_ */