summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2022-10-06 18:53:43 +0000
committer Eric Hameleers <alien@slackware.com>2022-10-07 07:00:16 +0200
commit3dbd7ef85684a6db44d35f0d3c35f9f260555b17 (patch)
treef75e125bf55a07d42942dcc2948049e48e834f72 /source
parentae24d0ad56e1be82b3d0dd19d312c84f61fae762 (diff)
downloadcurrent-3dbd7ef85684a6db44d35f0d3c35f9f260555b17.tar.gz
current-3dbd7ef85684a6db44d35f0d3c35f9f260555b17.tar.xz
Thu Oct 6 18:53:43 UTC 202220221006185343
a/bash-5.2.002-x86_64-1.txz: Upgraded. a/dbus-1.14.4-x86_64-1.txz: Upgraded. a/less-608-x86_64-1.txz: Upgraded. d/meson-0.63.3-x86_64-1.txz: Upgraded. l/readline-8.2.001-x86_64-1.txz: Upgraded. n/iproute2-6.0.0-x86_64-1.txz: Upgraded. n/openssh-9.1p1-x86_64-1.txz: Upgraded. x/xkeyboard-config-2.37-noarch-1.txz: Upgraded.
Diffstat (limited to '')
-rw-r--r--source/a/bash/bash-5.2-patches/bash52-00146
-rw-r--r--source/a/bash/bash-5.2-patches/bash52-00246
-rw-r--r--source/l/readline/readline-8.2-patches/readline82-00142
3 files changed, 134 insertions, 0 deletions
diff --git a/source/a/bash/bash-5.2-patches/bash52-001 b/source/a/bash/bash-5.2-patches/bash52-001
new file mode 100644
index 000000000..83776ec76
--- /dev/null
+++ b/source/a/bash/bash-5.2-patches/bash52-001
@@ -0,0 +1,46 @@
+ BASH PATCH REPORT
+ =================
+
+Bash-Release: 5.2
+Patch-ID: bash52-001
+
+Bug-Reported-by: Emanuele Torre <torreemanuele6@gmail.com>
+Bug-Reference-ID: <CAA7hNqeR1eSdiGK8mjQSqJPo815JYoG-Ekz-5PrAJTEYy2e6hg@mail.gmail.com>
+Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2022-09/msg00060.html
+
+Bug-Description:
+
+Expanding unset arrays in an arithmetic context can cause a segmentation fault.
+
+Patch (apply with `patch -p0'):
+
+*** ../bash-5.2/subst.c 2022-08-31 17:36:46.000000000 -0400
+--- subst.c 2022-09-30 09:12:05.000000000 -0400
+***************
+*** 10858,10862 ****
+ t = expand_subscript_string (exp, quoted & ~(Q_ARITH|Q_DOUBLE_QUOTES));
+ free (exp);
+! exp = sh_backslash_quote (t, abstab, 0);
+ free (t);
+
+--- 10858,10862 ----
+ t = expand_subscript_string (exp, quoted & ~(Q_ARITH|Q_DOUBLE_QUOTES));
+ free (exp);
+! exp = t ? sh_backslash_quote (t, abstab, 0) : savestring ("");
+ free (t);
+
+*** ../bash-5.2/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 0
+
+ #endif /* _PATCHLEVEL_H_ */
+--- 26,30 ----
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 1
+
+ #endif /* _PATCHLEVEL_H_ */
diff --git a/source/a/bash/bash-5.2-patches/bash52-002 b/source/a/bash/bash-5.2-patches/bash52-002
new file mode 100644
index 000000000..18229c996
--- /dev/null
+++ b/source/a/bash/bash-5.2-patches/bash52-002
@@ -0,0 +1,46 @@
+ BASH PATCH REPORT
+ =================
+
+Bash-Release: 5.2
+Patch-ID: bash52-002
+
+Bug-Reported-by: Kan-Ru Chen <koster@debian.org>
+Bug-Reference-ID:
+Bug-Reference-URL: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021109
+
+Bug-Description:
+
+Starting bash with an invalid locale specification for LC_ALL/LANG/LC_CTYPE
+can cause the shell to crash.
+
+Patch (apply with `patch -p0'):
+
+*** ../bash-5.2-patched/lib/readline/nls.c 2022-08-15 09:38:51.000000000 -0400
+--- lib/readline/nls.c 2022-10-05 09:23:22.000000000 -0400
+***************
+*** 142,145 ****
+--- 142,149 ----
+ lspec = "";
+ ret = setlocale (LC_CTYPE, lspec); /* ok, since it does not change locale */
++ if (ret == 0 || *ret == 0)
++ ret = setlocale (LC_CTYPE, (char *)NULL);
++ if (ret == 0 || *ret == 0)
++ ret = RL_DEFAULT_LOCALE;
+ #else
+ ret = (lspec == 0 || *lspec == 0) ? RL_DEFAULT_LOCALE : lspec;
+
+*** ../bash-5.2/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 1
+
+ #endif /* _PATCHLEVEL_H_ */
+--- 26,30 ----
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 2
+
+ #endif /* _PATCHLEVEL_H_ */
diff --git a/source/l/readline/readline-8.2-patches/readline82-001 b/source/l/readline/readline-8.2-patches/readline82-001
new file mode 100644
index 000000000..a13ff4285
--- /dev/null
+++ b/source/l/readline/readline-8.2-patches/readline82-001
@@ -0,0 +1,42 @@
+ READLINE PATCH REPORT
+ =====================
+
+Readline-Release: 8.2
+Patch-ID: readline82-001
+
+Bug-Reported-by: Kan-Ru Chen <koster@debian.org>
+Bug-Reference-ID:
+Bug-Reference-URL: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021109
+
+Bug-Description:
+
+Starting a readline application with an invalid locale specification for
+LC_ALL/LANG/LC_CTYPE can cause it crash on the first call to readline.
+
+Patch (apply with `patch -p0'):
+
+*** ../readline-8.2-patched/nls.c 2022-08-15 09:38:51.000000000 -0400
+--- nls.c 2022-10-05 09:23:22.000000000 -0400
+***************
+*** 142,145 ****
+--- 142,149 ----
+ lspec = "";
+ ret = setlocale (LC_CTYPE, lspec); /* ok, since it does not change locale */
++ if (ret == 0 || *ret == 0)
++ ret = setlocale (LC_CTYPE, (char *)NULL);
++ if (ret == 0 || *ret == 0)
++ ret = RL_DEFAULT_LOCALE;
+ #else
+ ret = (lspec == 0 || *lspec == 0) ? RL_DEFAULT_LOCALE : lspec;
+
+*** ../readline-8.2/patchlevel 2013-11-15 08:11:11.000000000 -0500
+--- patchlevel 2014-03-21 08:28:40.000000000 -0400
+***************
+*** 1,3 ****
+ # Do not edit -- exists only for use by patch
+
+! 0
+--- 1,3 ----
+ # Do not edit -- exists only for use by patch
+
+! 1