diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2012-01-24 13:29:06 -0300 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-01-24 23:41:22 +0100 |
commit | 5bedeb2fb36d8b36dc1e7392a2fc16e0bd1a0e81 (patch) | |
tree | 5b17e00bb0c61b0040f7357683f853f1a11a6703 /package/bash/bash-4.2-019.patch | |
parent | ce7a7896c5cdc4ecc6a5ca16f9403c57d0a329f9 (diff) | |
download | buildroot-novena-5bedeb2fb36d8b36dc1e7392a2fc16e0bd1a0e81.tar.gz buildroot-novena-5bedeb2fb36d8b36dc1e7392a2fc16e0bd1a0e81.zip |
bash: bump to version 4.2 pl20
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/bash/bash-4.2-019.patch')
-rw-r--r-- | package/bash/bash-4.2-019.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/package/bash/bash-4.2-019.patch b/package/bash/bash-4.2-019.patch new file mode 100644 index 000000000..01603a933 --- /dev/null +++ b/package/bash/bash-4.2-019.patch @@ -0,0 +1,47 @@ + BASH PATCH REPORT + ================= + +Bash-Release: 4.2 +Patch-ID: bash42-019 + +Bug-Reported-by: Diego Augusto Molina <diegoaugustomolina@gmail.com> +Bug-Reference-ID: <CAGOxLdHcSQu3ck9Qy3pRjj_NBU5tAPSAvNm-95-nLQ9Szwb6aA@mail.gmail.com> +Bug-Reference-URL: lists.gnu.org/archive/html/bug-bash/2011-09/msg00047.html + +Bug-Description: + +Using `declare' with attributes and an invalid array variable name or +assignment reference resulted in a segmentation fault instead of a +declaration error. + +Patch (apply with `patch -p0'): + +*** ../bash-4.2-patched/builtins/declare.def 2010-05-30 18:25:21.000000000 -0400 +--- ./builtins/declare.def 2011-09-15 15:20:20.000000000 -0400 +*************** +*** 514,517 **** +--- 514,522 ---- + var = assign_array_element (name, value, 0); /* XXX - not aflags */ + *subscript_start = '\0'; ++ if (var == 0) /* some kind of assignment error */ ++ { ++ assign_error++; ++ NEXT_VARIABLE (); ++ } + } + else if (simple_array_assign) +*** ../bash-4.2-patched/patchlevel.h Sat Jun 12 20:14:48 2010 +--- ./patchlevel.h Thu Feb 24 21:41:34 2011 +*************** +*** 26,30 **** + looks for to find the patch level (for the sccs version string). */ + +! #define PATCHLEVEL 18 + + #endif /* _PATCHLEVEL_H_ */ +--- 26,30 ---- + looks for to find the patch level (for the sccs version string). */ + +! #define PATCHLEVEL 19 + + #endif /* _PATCHLEVEL_H_ */ |