mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 03:49:32 +02:00
curl: Update to 8.9.1
This update contains minor features, bugfixes, and addresses several CVEs: * https://curl.se/docs/CVE-2024-6197.html * https://curl.se/docs/CVE-2024-6874.html * https://curl.se/docs/CVE-2024-7264.html Full relese notes available at https://curl.se/ch/8.9.1.html Backport a patch to fix a SIGPIPE issue found shortly after release: https://curl.se/mail/distros-2024-08/0002.html (From OE-Core rev: ff607f50f1e15ca713048bba83ca15d1e4e08b6a) Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
06fa93620e
commit
c8aad0871c
@@ -0,0 +1,38 @@
|
|||||||
|
From 3eec5afbd0b6377eca893c392569b2faf094d970 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
|
||||||
|
Closes #14390
|
||||||
|
|
||||||
|
Upstream-Status: Backport [https://github.com/curl/curl/commit/3eec5afbd0b6377eca893c392569b2faf094d970]
|
||||||
|
Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
|
||||||
|
---
|
||||||
|
lib/sigpipe.h | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/lib/sigpipe.h b/lib/sigpipe.h
|
||||||
|
index b91a2f513..d78afd905 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;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
--
|
||||||
|
2.44.2
|
||||||
|
|
||||||
@@ -14,8 +14,9 @@ SRC_URI = " \
|
|||||||
file://run-ptest \
|
file://run-ptest \
|
||||||
file://disable-tests \
|
file://disable-tests \
|
||||||
file://no-test-timeout.patch \
|
file://no-test-timeout.patch \
|
||||||
|
file://0001-sigpipe-init-the-struct-so-that-first-apply-ignores.patch \
|
||||||
"
|
"
|
||||||
SRC_URI[sha256sum] = "0f58bb95fc330c8a46eeb3df5701b0d90c9d9bfcc42bd1cd08791d12551d4400"
|
SRC_URI[sha256sum] = "f292f6cc051d5bbabf725ef85d432dfeacc8711dd717ea97612ae590643801e5"
|
||||||
|
|
||||||
# Curl has used many names over the years...
|
# Curl has used many names over the years...
|
||||||
CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl daniel_stenberg:curl"
|
CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl daniel_stenberg:curl"
|
||||||
Reference in New Issue
Block a user