diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2022-11-24 20:55:37 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2022-11-25 07:00:37 +0100 |
commit | a8f1aa5a10a2af9c4954e5334d8d0cb2c787b081 (patch) | |
tree | 1994af8a4ab171da12d5fe4eecd6de8103113686 /source/d | |
parent | 65b9f8df0a7ec56770c39a7eb04a10610605608d (diff) | |
download | current-a8f1aa5a10a2af9c4954e5334d8d0cb2c787b081.tar.gz current-a8f1aa5a10a2af9c4954e5334d8d0cb2c787b081.tar.xz |
Thu Nov 24 20:55:37 UTC 202220221124205537
a/bash-5.2.012-x86_64-1.txz: Upgraded.
a/less-612-x86_64-1.txz: Upgraded.
a/tcsh-6.24.02-x86_64-1.txz: Upgraded.
ap/vim-9.0.0942-x86_64-1.txz: Upgraded.
d/make-4.4-x86_64-2.txz: Rebuilt.
[SV 63307] Spawn children with the default disposition of sigpipe.
Thanks to nobodino.
d/ruby-3.1.3-x86_64-1.txz: Upgraded.
This release includes a security fix:
HTTP response splitting in CGI.
For more information, see:
https://www.cve.org/CVERecord?id=CVE-2021-33621
(* Security fix *)
l/pipewire-0.3.61-x86_64-1.txz: Upgraded.
n/ipset-7.16-x86_64-1.txz: Upgraded.
x/fcitx5-5.0.21-x86_64-1.txz: Upgraded.
xap/vim-gvim-9.0.0942-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/d')
-rw-r--r-- | source/d/make/0370a7a40fe9523ea334dcb8a2a60f1418595b49.patch | 48 | ||||
-rwxr-xr-x | source/d/make/make.SlackBuild | 4 | ||||
-rwxr-xr-x | source/d/ruby/ruby.SlackBuild | 2 |
3 files changed, 52 insertions, 2 deletions
diff --git a/source/d/make/0370a7a40fe9523ea334dcb8a2a60f1418595b49.patch b/source/d/make/0370a7a40fe9523ea334dcb8a2a60f1418595b49.patch new file mode 100644 index 000000000..9b6a35447 --- /dev/null +++ b/source/d/make/0370a7a40fe9523ea334dcb8a2a60f1418595b49.patch @@ -0,0 +1,48 @@ +commit 0370a7a40fe9523ea334dcb8a2a60f1418595b49 +Author: Dmitry Goncharov <dgoncharov@users.sf.net> +Date: Sun Nov 6 07:36:26 2022 -0500 + + [SV 63307] Spawn children with the default disposition of sigpipe. + + * src/main.c (main): Set sigpipe disposition to a handler, rather than + SIG_IGN, in order for children to have the default sigpipe disposition. + * tests/scripts/misc/sigpipe: Add sigpipe tests. + +diff --git a/src/main.c b/src/main.c +index eec93656..d8857696 100644 +--- a/src/main.c ++++ b/src/main.c +@@ -1152,6 +1152,15 @@ temp_stdin_unlink () + } + } + ++#ifdef SIGPIPE ++static void ++handle_sigpipe (int sig) ++{ ++ /* Suppress unused variable warning. */ ++ sig = sig; ++} ++#endif ++ + #ifdef _AMIGA + int + main (int argc, char **argv) +@@ -1182,9 +1191,15 @@ main (int argc, char **argv, char **envp) + /* Useful for attaching debuggers, etc. */ + SPIN ("main-entry"); + +- /* Don't die if our stdout sends us SIGPIPE. */ ++ /* Don't die if our stdout sends us SIGPIPE to get temporary files removed. ++ * If make has inherited SIG_IGN, keep running with SIG_IGN to let make's ++ * children inherit SIG_IGN. ++ * Othwerwise, set sigpipe disposition to a handler, in order for children to ++ * have the default sigpipe disposition. */ ++ + #ifdef SIGPIPE +- bsd_signal (SIGPIPE, SIG_IGN); ++ if (bsd_signal (SIGPIPE, handle_sigpipe) == SIG_IGN) ++ bsd_signal (SIGPIPE, SIG_IGN); + #endif + + #ifdef HAVE_ATEXIT diff --git a/source/d/make/make.SlackBuild b/source/d/make/make.SlackBuild index dfce383db..e879bcff1 100755 --- a/source/d/make/make.SlackBuild +++ b/source/d/make/make.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=make VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -77,6 +77,8 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ +cat $CWD/0370a7a40fe9523ea334dcb8a2a60f1418595b49.patch | patch -p1 --verbose || exit 1 + # Configure: CFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/source/d/ruby/ruby.SlackBuild b/source/d/ruby/ruby.SlackBuild index 092377804..d3c486f53 100755 --- a/source/d/ruby/ruby.SlackBuild +++ b/source/d/ruby/ruby.SlackBuild @@ -32,7 +32,7 @@ else VERSION=$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev) fi -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then |