summaryrefslogtreecommitdiffstats
path: root/source/a/bash/bash-5.1-patches/bash51-008
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2021-05-05 19:56:53 +0000
committer Eric Hameleers <alien@slackware.com>2021-05-06 08:59:52 +0200
commite89deabfb2b29504e31d9208e7ac5593907add1d (patch)
treea2a3374e0edd56c7a101f824e72a51fbdad3c33d /source/a/bash/bash-5.1-patches/bash51-008
parentc0094e9a928f8fa62798dfadf5394bcebf321b55 (diff)
downloadcurrent-cf445cf2d8c55f546cda3936d1a63dc797cbbc7a.tar.gz
current-cf445cf2d8c55f546cda3936d1a63dc797cbbc7a.tar.xz
Wed May 5 19:56:53 UTC 202120210505195653
a/bash-5.1.008-x86_64-1.txz: Upgraded. d/python-setuptools-56.1.0-x86_64-1.txz: Upgraded. l/libgnt-2.14.1-x86_64-1.txz: Added. Thanks to Robby Workman. l/mozjs78-78.10.1esr-x86_64-1.txz: Upgraded. l/python-six-1.16.0-x86_64-1.txz: Upgraded. l/readline-8.1.001-x86_64-1.txz: Upgraded. n/mutt-2.0.7-x86_64-1.txz: Upgraded. n/php-7.4.19-x86_64-1.txz: Upgraded. xap/mozilla-firefox-88.0.1-x86_64-1.txz: Upgraded. This release contains security fixes and improvements. For more information, see: https://www.mozilla.org/en-US/firefox/88.0.1/releasenotes/ https://www.mozilla.org/security/advisories/mfsa2021-20/ https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29953 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29952 (* Security fix *) xap/mozilla-thunderbird-78.10.1-x86_64-1.txz: Upgraded. This release contains security fixes and improvements. For more information, see: https://www.mozilla.org/en-US/thunderbird/78.10.1/releasenotes/ https://www.mozilla.org/en-US/security/advisories/mfsa2021-19/ https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29951 (* Security fix *) xap/pidgin-2.14.4-x86_64-2.txz: Rebuilt. Recompiled against libgnt-2.14.1 to restore the finch cli app. Thanks to Robby Workman. xfce/xfce4-clipman-plugin-1.6.2-x86_64-1.txz: Upgraded. extra/php8/php8-8.0.6-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/a/bash/bash-5.1-patches/bash51-008')
-rw-r--r--source/a/bash/bash-5.1-patches/bash51-00861
1 files changed, 61 insertions, 0 deletions
diff --git a/source/a/bash/bash-5.1-patches/bash51-008 b/source/a/bash/bash-5.1-patches/bash51-008
new file mode 100644
index 000000000..ece214f09
--- /dev/null
+++ b/source/a/bash/bash-5.1-patches/bash51-008
@@ -0,0 +1,61 @@
+ BASH PATCH REPORT
+ =================
+
+Bash-Release: 5.1
+Patch-ID: bash51-008
+
+Bug-Reported-by: Michael Felt <aixtools@gmail.com>
+Bug-Reference-ID: <b82d9a2f-5d8a-ffb2-4115-420c09272da5@felt.demon.nl>
+Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2021-03/msg00028.html
+
+Bug-Description:
+
+Process substitution FIFOs opened by child processes as targets of redirections
+were not removed appropriately, leaving remnants in the file system.
+
+Patch (apply with `patch -p0'):
+
+*** ../bash-5.1-patched/execute_cmd.c 2020-10-12 10:16:13.000000000 -0400
+--- execute_cmd.c 2021-05-04 11:12:39.000000000 -0400
+***************
+*** 5557,5565 ****
+ /* Try to remove named pipes that may have been created as the
+ result of redirections. */
+! unlink_fifo_list ();
+ #endif /* PROCESS_SUBSTITUTION */
+ exit (EXECUTION_FAILURE);
+ }
+
+ if (async)
+ interactive = old_interactive;
+--- 5557,5571 ----
+ /* Try to remove named pipes that may have been created as the
+ result of redirections. */
+! unlink_all_fifos ();
+ #endif /* PROCESS_SUBSTITUTION */
+ exit (EXECUTION_FAILURE);
+ }
+
++ #if defined (PROCESS_SUBSTITUTION) && !defined (HAVE_DEV_FD)
++ /* This should only contain FIFOs created as part of redirection
++ expansion. */
++ unlink_all_fifos ();
++ #endif
++
+ if (async)
+ interactive = old_interactive;
+*** ../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 7
+
+ #endif /* _PATCHLEVEL_H_ */
+--- 26,30 ----
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 8
+
+ #endif /* _PATCHLEVEL_H_ */