Accepting request 1043053 from Base:System
- 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. OBS-URL: https://build.opensuse.org/request/show/1043053 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=186
This commit is contained in:
commit
1c3fd5819c
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
--- sig.c
|
--- sig.c
|
||||||
+++ sig.c 2018-11-29 08:13:00.103944580 +0000
|
+++ 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)
|
if (sig == SIGCHLD)
|
||||||
act.sa_flags |= SA_RESTART; /* XXX */
|
act.sa_flags |= SA_RESTART; /* XXX */
|
||||||
#endif
|
#endif
|
||||||
@ -13,7 +13,7 @@
|
|||||||
/* Let's see if we can keep SIGWINCH from interrupting interruptible system
|
/* Let's see if we can keep SIGWINCH from interrupting interruptible system
|
||||||
calls, like open(2)/read(2)/write(2) */
|
calls, like open(2)/read(2)/write(2) */
|
||||||
#if defined (SIGWINCH)
|
#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. */
|
it to be as close to SIG_IGN as possible. */
|
||||||
if (sig == SIGTERM && handler == sigterm_sighandler)
|
if (sig == SIGTERM && handler == sigterm_sighandler)
|
||||||
act.sa_flags |= SA_RESTART; /* XXX */
|
act.sa_flags |= SA_RESTART; /* XXX */
|
||||||
|
BIN
bash-5.2-patches.tar.bz2
(Stored with Git LFS)
BIN
bash-5.2-patches.tar.bz2
(Stored with Git LFS)
Binary file not shown.
16
bash.changes
16
bash.changes
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 14 14:52:27 UTC 2022 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- 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 <werner@suse.de>
|
Mon Nov 28 11:33:24 UTC 2022 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user