summaryrefslogtreecommitdiffstats
path: root/source/a/bash/bash-5.1-patches/bash51-011
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2021-11-18 21:13:10 +0000
committer Eric Hameleers <alien@slackware.com>2021-11-19 08:59:57 +0100
commit061b63f432805072759263dfcb5fccddd52e5e4c (patch)
tree15b116cecc35365a8414b26aa975110c1ba37165 /source/a/bash/bash-5.1-patches/bash51-011
parentc73f45c6d4f48f70b96e052a5185fb146d532e59 (diff)
downloadcurrent-061b63f432805072759263dfcb5fccddd52e5e4c.tar.gz
current-061b63f432805072759263dfcb5fccddd52e5e4c.tar.xz
Thu Nov 18 21:13:10 UTC 202120211118211310
a/bash-5.1.012-x86_64-1.txz: Upgraded. a/cryptsetup-2.4.2-x86_64-1.txz: Upgraded. a/kernel-generic-5.15.3-x86_64-1.txz: Upgraded. a/kernel-huge-5.15.3-x86_64-1.txz: Upgraded. a/kernel-modules-5.15.3-x86_64-1.txz: Upgraded. d/ccache-4.5.1-x86_64-1.txz: Upgraded. d/kernel-headers-5.15.3-x86-1.txz: Upgraded. k/kernel-source-5.15.3-noarch-1.txz: Upgraded. kde/latte-dock-0.10.4-x86_64-1.txz: Upgraded. n/php-7.4.26-x86_64-1.txz: Upgraded. This update fixes bugs and a security issue: XML: special character is breaking the path in xml function. For more information, see: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21707 (* Security fix *) x/ibus-1.5.25-x86_64-5.txz: Rebuilt. Fixed paths in: [PATCH] client/gtk3/ibusimcontext: Fix wrong cursor location in gtk3 apps. Thanks to Lockywolf. xap/audacious-4.1-x86_64-3.txz: Rebuilt. Removed the extra menu entry for the GTK+ version as this can just be selected in the settings. Thanks to franzen. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/a/bash/bash-5.1-patches/bash51-011')
-rw-r--r--source/a/bash/bash-5.1-patches/bash51-01181
1 files changed, 81 insertions, 0 deletions
diff --git a/source/a/bash/bash-5.1-patches/bash51-011 b/source/a/bash/bash-5.1-patches/bash51-011
new file mode 100644
index 000000000..655c7ec8b
--- /dev/null
+++ b/source/a/bash/bash-5.1-patches/bash51-011
@@ -0,0 +1,81 @@
+ BASH PATCH REPORT
+ =================
+
+Bash-Release: 5.1
+Patch-ID: bash51-011
+
+Bug-Reported-by: Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com>
+Bug-Reference-ID: <CAALKErFrm+yuwy=ioK+RmjCiwxTDmzeMFWqLF2BEWYtkGS5UFQ@mail.gmail.com>
+Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2020-11/msg00064.html
+
+Bug-Description:
+
+When reading a compound assignment, and running it through the parser to
+split it into words, we need to save and restore any alias we're currently
+expanding.
+
+Patch (apply with `patch -p0'):
+
+*** ../bash-5.1-patched/parse.y 2020-11-28 12:10:06.000000000 -0500
+--- parse.y 2021-10-13 11:04:27.000000000 -0400
+***************
+*** 6494,6501 ****
+
+ push_stream (1);
+- #if 0 /* TAG: bash-5.2 Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com> 11/17/2020 */
+ if (ea = expanding_alias ())
+ parser_save_alias ();
+- #endif
+ last_read_token = WORD; /* WORD to allow reserved words here */
+ current_command_line_count = 0;
+--- 6494,6499 ----
+***************
+*** 6532,6539 ****
+ pop_stream ();
+
+- #if 0 /* TAG: bash-5.2 */
+ if (ea)
+ parser_restore_alias ();
+- #endif
+
+ #if defined (HISTORY)
+--- 6530,6535 ----
+*** ../bash-5.1-patched/y.tab.c 2020-11-28 12:17:19.000000000 -0500
+--- y.tab.c 2021-11-17 10:47:35.000000000 -0500
+***************
+*** 8788,8795 ****
+
+ push_stream (1);
+- #if 0 /* TAG: bash-5.2 Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com> 11/17/2020 */
+ if (ea = expanding_alias ())
+ parser_save_alias ();
+- #endif
+ last_read_token = WORD; /* WORD to allow reserved words here */
+ current_command_line_count = 0;
+--- 8777,8782 ----
+***************
+*** 8826,8833 ****
+ pop_stream ();
+
+- #if 0 /* TAG: bash-5.2 */
+ if (ea)
+ parser_restore_alias ();
+- #endif
+
+ #if defined (HISTORY)
+--- 8813,8818 ----
+*** ../bash-5.1/patchlevel.h 2020-06-22 14:51:03.000000000 -0400
+--- patchlevel.h 2020-10-01 11:01:28.000000000 -0400
+***************
+*** 26,30 ****
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 10
+
+ #endif /* _PATCHLEVEL_H_ */
+--- 26,30 ----
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 11
+
+ #endif /* _PATCHLEVEL_H_ */