diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2012-08-13 10:09:18 -0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-08-24 23:47:56 +0200 |
commit | 8add5064c35f64fdf32d4f9b121b8f4c888ba1a2 (patch) | |
tree | e3c5d481b69714986d12b7d74a6515d2aef54453 /package/bash/bash-4.2-034.patch | |
parent | a45b10baa71273eba6f9100e0e66eca5660a4062 (diff) | |
download | buildroot-novena-8add5064c35f64fdf32d4f9b121b8f4c888ba1a2.tar.gz buildroot-novena-8add5064c35f64fdf32d4f9b121b8f4c888ba1a2.zip |
bash: security bump to version 4.2 pl37
Bump bash to version 4.2 patchlevel 37.
Fixes CVE-2012-3410.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/bash/bash-4.2-034.patch')
-rw-r--r-- | package/bash/bash-4.2-034.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/package/bash/bash-4.2-034.patch b/package/bash/bash-4.2-034.patch new file mode 100644 index 000000000..7eb2ebaf1 --- /dev/null +++ b/package/bash/bash-4.2-034.patch @@ -0,0 +1,46 @@ + BASH PATCH REPORT + ================= + +Bash-Release: 4.2 +Patch-ID: bash42-034 + +Bug-Reported-by: "Davide Brini" <dave_br@gmx.com> +Bug-Reference-ID: <20120604164154.69781EC04B@imaps.oficinas.atrapalo.com> +Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2012-06/msg00030.html + +Bug-Description: + +In bash-4.2, the history code would inappropriately add a semicolon to +multi-line compound array assignments when adding them to the history. + +Patch (apply with `patch -p0'): + +*** ../bash-4.2-patched/parse.y 2011-11-21 18:03:36.000000000 -0500 +--- ./parse.y 2012-06-07 12:48:47.000000000 -0400 +*************** +*** 4900,4905 **** +--- 4916,4924 ---- + return (current_command_line_count == 2 ? "\n" : ""); + } + ++ if (parser_state & PST_COMPASSIGN) ++ return (" "); ++ + /* First, handle some special cases. */ + /*(*/ + /* If we just read `()', assume it's a function definition, and don't +*** ../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 33 + + #endif /* _PATCHLEVEL_H_ */ +--- 26,30 ---- + looks for to find the patch level (for the sccs version string). */ + +! #define PATCHLEVEL 34 + + #endif /* _PATCHLEVEL_H_ */ |