From af6a82ad4a803f71063d3d58a5d0d36a6ea7e3bd Mon Sep 17 00:00:00 2001
From: WernerFink <>
Date: Dec 18 2022 16:27:37 +0000
Subject: Update bash to version 5.2.MACRO / rev 186 via SR 1043053
https://build.opensuse.org/request/show/1043053
by user WernerFink + dimstar_suse
- Add upstream patches
* bash52-013
Bash can leak memory when referencing a non-existent associative
array element.
* bash52-014
Bash defers processing additional terminating signals when running
the EXIT trap while exiting due to a terminating signal. This
patch allows the new terminating signal to kill the shell immediately.
* bash52-015
There are several cases where bash is too aggressive when optimizing
out forks in subshells. For example, `eval' and traps should never
be optimized.
---
diff --git a/.files b/.files
index 4902131..b67e779 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 37e0655..b63ac0c 100644
--- a/.rev
+++ b/.rev
@@ -1882,4 +1882,23 @@ Upstream declares the bash license to be GPL-3.0+ - not GPL-2.0+ (forwarded requ
leave the `extglob' option enabled.
1038668
+
+ 7c7526d25c05acc085a777eb80225d4f
+ 5.2.MACRO
+
+ dimstar_suse
+ - Add upstream patches
+ * bash52-013
+ Bash can leak memory when referencing a non-existent associative
+ array element.
+ * bash52-014
+ Bash defers processing additional terminating signals when running
+ the EXIT trap while exiting due to a terminating signal. This
+ patch allows the new terminating signal to kill the shell immediately.
+ * bash52-015
+ There are several cases where bash is too aggressive when optimizing
+ out forks in subshells. For example, `eval' and traps should never
+ be optimized.
+ 1043053
+
diff --git a/bash-4.3-sigrestart.patch b/bash-4.3-sigrestart.patch
index fd9c4a4..2114df9 100644
--- a/bash-4.3-sigrestart.patch
+++ b/bash-4.3-sigrestart.patch
@@ -4,7 +4,7 @@
--- sig.c
+++ sig.c 2018-11-29 08:13:00.103944580 +0000
-@@ -796,6 +796,8 @@ set_signal_handler (sig, handler)
+@@ -814,6 +814,8 @@ set_signal_handler (sig, handler)
if (sig == SIGCHLD)
act.sa_flags |= SA_RESTART; /* XXX */
#endif
@@ -13,7 +13,7 @@
/* Let's see if we can keep SIGWINCH from interrupting interruptible system
calls, like open(2)/read(2)/write(2) */
#if defined (SIGWINCH)
-@@ -806,6 +808,10 @@ set_signal_handler (sig, handler)
+@@ -826,6 +826,10 @@ set_signal_handler (sig, handler)
it to be as close to SIG_IGN as possible. */
if (sig == SIGTERM && handler == sigterm_sighandler)
act.sa_flags |= SA_RESTART; /* XXX */
diff --git a/bash-5.2-patches.tar.bz2 b/bash-5.2-patches.tar.bz2
index 38f58b6..e49d727 120000
--- a/bash-5.2-patches.tar.bz2
+++ b/bash-5.2-patches.tar.bz2
@@ -1 +1 @@
-/ipfs/bafkreib3hxmtms5jkzercigomeexkwrikhkya7i7teni6qjvhdu3bx4l2m
\ No newline at end of file
+/ipfs/bafkreihl5sona6nq4mgxr7thh7qfjdprfnezieo6zhsom47xmjvbvmj4gy
\ No newline at end of file
diff --git a/bash.changes b/bash.changes
index 8eb9a37..a9863a1 100644
--- a/bash.changes
+++ b/bash.changes
@@ -1,4 +1,20 @@
-------------------------------------------------------------------
+Wed Dec 14 14:52:27 UTC 2022 - Dr. Werner Fink
+
+- Add upstream patches
+ * bash52-013
+ Bash can leak memory when referencing a non-existent associative
+ array element.
+ * bash52-014
+ Bash defers processing additional terminating signals when running
+ the EXIT trap while exiting due to a terminating signal. This
+ patch allows the new terminating signal to kill the shell immediately.
+ * bash52-015
+ There are several cases where bash is too aggressive when optimizing
+ out forks in subshells. For example, `eval' and traps should never
+ be optimized.
+
+-------------------------------------------------------------------
Mon Nov 28 11:33:24 UTC 2022 - Dr. Werner Fink
- Add upstream patches