Remove BR2_DEPRECATED
[buildroot-gz.git] / package / bash / 0046-patchlevel-46.patch
blobbc3798a08842bf119b20ab9bfdec3f62d7ac6570
1 From http://ftp.gnu.org/pub/gnu/bash/bash-4.3-patches/bash43-046
3 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
5 BASH PATCH REPORT
6 =================
8 Bash-Release: 4.3
9 Patch-ID: bash43-046
11 Bug-Reported-by: Sergey Tselikh <stselikh@gmail.com>
12 Bug-Reference-ID: <20150816110235.91f3e12e3f20d20cdaad963e@gmail.com>
13 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2015-08/msg00080.html
15 Bug-Description:
17 An incorrect conversion from an indexed to associative array can result in a
18 core dump.
20 Patch (apply with `patch -p0'):
22 *** a/subst.c 2015-08-13 11:32:54.000000000 -0400
23 --- b/subst.c 2015-08-18 10:13:59.000000000 -0400
24 ***************
25 *** 9562,9566 ****
26 opts[opti] = '\0';
27 if (opti > 0)
28 ! make_internal_declare (tlist->word->word, opts);
30 t = do_word_assignment (tlist->word, 0);
31 --- 9562,9573 ----
32 opts[opti] = '\0';
33 if (opti > 0)
34 ! {
35 ! t = make_internal_declare (tlist->word->word, opts);
36 ! if (t != EXECUTION_SUCCESS)
37 ! {
38 ! last_command_exit_value = t;
39 ! exp_jump_to_top_level (DISCARD);
40 ! }
41 ! }
43 t = do_word_assignment (tlist->word, 0);
45 *** a/patchlevel.h 2012-12-29 10:47:57.000000000 -0500
46 --- b/patchlevel.h 2014-03-20 20:01:28.000000000 -0400
47 ***************
48 *** 26,30 ****
49 looks for to find the patch level (for the sccs version string). */
51 ! #define PATCHLEVEL 45
53 #endif /* _PATCHLEVEL_H_ */
54 --- 26,30 ----
55 looks for to find the patch level (for the sccs version string). */
57 ! #define PATCHLEVEL 46
59 #endif /* _PATCHLEVEL_H_ */