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
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
19 Patch (apply with `patch -p0'):
21 *** ../bash-4.1-patched/builtins/read.def 2009-10-08 11:35:46.000000000 -0400
22 --- ./builtins/read.def 2010-03-17 17:35:39.000000000 -0400
27 - interrupt_immediately--;
28 - terminate_immediately--;
29 discard_unwind_frame ("read_builtin");
37 + interrupt_immediately--;
38 + terminate_immediately--;
40 #if defined (ARRAY_VARS)
41 /* If -a was given, take the string read, break it into a list of words,
42 *** ../bash-4.1-patched/patchlevel.h 2009-10-01 16:39:22.000000000 -0400
43 --- ./patchlevel.h 2010-01-14 09:38:08.000000000 -0500
46 looks for to find the patch level (for the sccs version string). */
48 ! #define PATCHLEVEL 4
50 #endif /* _PATCHLEVEL_H_ */
52 looks for to find the patch level (for the sccs version string). */
54 ! #define PATCHLEVEL 5
56 #endif /* _PATCHLEVEL_H_ */