From 994d284532d66330b1e48edf4d2623ce0427431d Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Wed, 14 Dec 2022 14:56:41 +0000 Subject: [PATCH] Update to bash52-015 OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=370 --- bash-4.3-sigrestart.patch | 4 ++-- bash-5.2-patches.tar.bz2 | 4 ++-- bash.changes | 16 ++++++++++++++++ 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/bash-4.3-sigrestart.patch b/bash-4.3-sigrestart.patch index fd9c4a46..2114df9d 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 2aaca1b9..6500ef6f 100644 --- a/bash-5.2-patches.tar.bz2 +++ b/bash-5.2-patches.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3b3dd9364ba956491120ce6109755a2851d5807d1f991a8f413538e9b0df8bd3 -size 11212 +oid sha256:ebec9cd079b0e30d78fe673fe0548df12b499411dec9e4e673f7626a1ab13c36 +size 14145 diff --git a/bash.changes b/bash.changes index 8eb9a37c..a9863a14 100644 --- a/bash.changes +++ b/bash.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +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