summaryrefslogtreecommitdiffstats
path: root/package/bash/bash-4.1-005.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2010-06-09 10:36:26 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2010-07-01 21:42:32 +0200
commit3404ad7c4fd5997ba7becf239ab8bc5b919393aa (patch)
treebf4a1d787f51f7f8aac70693f86a4a1446356a52 /package/bash/bash-4.1-005.patch
parentda32c7ca2d488ffdd2e37a1cc533338741342a3c (diff)
downloadbuildroot-novena-3404ad7c4fd5997ba7becf239ab8bc5b919393aa.tar.gz
buildroot-novena-3404ad7c4fd5997ba7becf239ab8bc5b919393aa.zip
bash: bump to 4.1.7(1) and migrate to autotargets
Closes #1993 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/bash/bash-4.1-005.patch')
-rw-r--r--package/bash/bash-4.1-005.patch56
1 files changed, 56 insertions, 0 deletions
diff --git a/package/bash/bash-4.1-005.patch b/package/bash/bash-4.1-005.patch
new file mode 100644
index 000000000..79745475c
--- /dev/null
+++ b/package/bash/bash-4.1-005.patch
@@ -0,0 +1,56 @@
+ BASH PATCH REPORT
+ =================
+
+Bash-Release: 4.1
+Patch-ID: bash41-005
+
+Bug-Reported-by: werner@suse.de
+Bug-Reference-ID: <201002251238.o1PCcYcg016893@boole.suse.de>
+Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2010-02/msg00132.html
+
+Bug-Description:
+
+When the `read' builtin times out after the timeout specified with -t is
+exceeded, it does not reset the flags that tell signal handlers to process
+signals immediately instead of deferring their handling. This can result
+in unsafe functions being called from signal handlers, which can cause bash
+to hang or dump core.
+
+Patch (apply with `patch -p0'):
+
+*** ../bash-4.1-patched/builtins/read.def 2009-10-08 11:35:46.000000000 -0400
+--- ./builtins/read.def 2010-03-17 17:35:39.000000000 -0400
+***************
+*** 616,621 ****
+ zsyncfd (fd);
+
+- interrupt_immediately--;
+- terminate_immediately--;
+ discard_unwind_frame ("read_builtin");
+
+--- 616,619 ----
+***************
+*** 624,627 ****
+--- 622,628 ----
+ assign_vars:
+
++ interrupt_immediately--;
++ terminate_immediately--;
++
+ #if defined (ARRAY_VARS)
+ /* If -a was given, take the string read, break it into a list of words,
+*** ../bash-4.1-patched/patchlevel.h 2009-10-01 16:39:22.000000000 -0400
+--- ./patchlevel.h 2010-01-14 09:38:08.000000000 -0500
+***************
+*** 26,30 ****
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 4
+
+ #endif /* _PATCHLEVEL_H_ */
+--- 26,30 ----
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 5
+
+ #endif /* _PATCHLEVEL_H_ */