1
0
Fork 0
mirror of git://slackware.nl/current.git synced 2025-01-14 08:01:11 +01:00
slackware-current/source/n/curl/fe9baa1619d13a1d3ac6bfa530abe229805cddff.patch
Patrick J Volkerding fcf512a278 Wed Aug 7 04:03:09 UTC 2024
a/bash-5.2.032-x86_64-2.txz:  Rebuilt.
  Patched a C compatibility error with GCC 14 in the configure.ac script that
  was causing the printf builtin to malfunction.
  Thanks to elMoco for the bug report.
l/qt6-6.7.2_20240610_3f005f1e-x86_64-4.txz:  Rebuilt.
  Recompiled against abseil-cpp-20240722.0.
n/curl-8.9.1-x86_64-2.txz:  Rebuilt.
  This is a bugfix release.
  [PATCH] sigpipe: init the struct so that first apply ignores.
  Thanks to ponce.
n/samba-4.20.4-x86_64-1.txz:  Upgraded.
xap/mozilla-firefox-128.1.0esr-x86_64-1.txz:  Upgraded.
  This update contains security fixes and improvements.
  For more information, see:
    https://www.mozilla.org/en-US/firefox/128.1.0/releasenotes/
    https://www.mozilla.org/security/advisories/mfsa2024-35/
    https://www.cve.org/CVERecord?id=CVE-2024-7518
    https://www.cve.org/CVERecord?id=CVE-2024-7519
    https://www.cve.org/CVERecord?id=CVE-2024-7520
    https://www.cve.org/CVERecord?id=CVE-2024-7521
    https://www.cve.org/CVERecord?id=CVE-2024-7522
    https://www.cve.org/CVERecord?id=CVE-2024-7524
    https://www.cve.org/CVERecord?id=CVE-2024-7525
    https://www.cve.org/CVERecord?id=CVE-2024-7526
    https://www.cve.org/CVERecord?id=CVE-2024-7527
    https://www.cve.org/CVERecord?id=CVE-2024-7528
    https://www.cve.org/CVERecord?id=CVE-2024-7529
    https://www.cve.org/CVERecord?id=CVE-2024-7531
  (* Security fix *)
xap/mozilla-thunderbird-128.1.0esr-x86_64-1.txz:  Upgraded.
  This is a bugfix release.
  For more information, see:
    https://www.mozilla.org/en-US/thunderbird/128.1.0esr/releasenotes/
2024-08-07 07:22:03 +02:00

31 lines
898 B
Diff

From fe9baa1619d13a1d3ac6bfa530abe229805cddff Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Mon, 5 Aug 2024 00:17:17 +0200
Subject: [PATCH] sigpipe: init the struct so that first apply ignores
Initializes 'no_signal' to TRUE, so that a call to sigpipe_apply() after
init ignores the signal (unless CURLOPT_NOSIGNAL) is set.
I have read the existing code multiple times now and I think it gets the
initial state reversed this missing to ignore.
Regression from 17e6f06ea37136c36d27
Reported-by: Rasmus Thomsen
Fixes #14344
---
lib/sigpipe.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/sigpipe.h b/lib/sigpipe.h
index b91a2f51333956..d78afd905d3414 100644
--- a/lib/sigpipe.h
+++ b/lib/sigpipe.h
@@ -39,6 +39,7 @@ struct sigpipe_ignore {
static void sigpipe_init(struct sigpipe_ignore *ig)
{
memset(ig, 0, sizeof(*ig));
+ ig->no_signal = TRUE;
}
/*