Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update glibc to 2.40 #324

Merged
merged 1 commit into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
471 changes: 471 additions & 0 deletions packages/glibc/0001-Replace-advisories-directory.patch

Large diffs are not rendered by default.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From dc512364e8490facb30f8c23fcc496d21adfc4e4 Mon Sep 17 00:00:00 2001
From 8bbb8d7b16cae777eed06bc9d2e059fc00be24e9 Mon Sep 17 00:00:00 2001
From: Florian Weimer <[email protected]>
Date: Wed, 24 Jul 2024 12:06:47 +0200
Subject: [PATCH] resolv: Allow short error responses to match any query (bug
Expand All @@ -7,27 +7,32 @@ Subject: [PATCH] resolv: Allow short error responses to match any query (bug
Reviewed-by: DJ Delorie <[email protected]>
(cherry picked from commit 691a3b2e9bfaba842e46a5ccb7f5e6ea144c3ade)
---
NEWS | 1 +
NEWS | 6 ++
resolv/Makefile | 3 +
resolv/res_send.c | 29 +++++---
resolv/tst-resolv-short-response.c | 112 +++++++++++++++++++++++++++++
4 files changed, 135 insertions(+), 10 deletions(-)
4 files changed, 140 insertions(+), 10 deletions(-)
create mode 100644 resolv/tst-resolv-short-response.c

diff --git a/NEWS b/NEWS
index f0a0834496..c331604747 100644
index 31281ac408..66b755ed34 100644
--- a/NEWS
+++ b/NEWS
@@ -51,6 +51,7 @@ The following bugs are resolved with this release:
[31183] Wide stream buffer size reduced MB_LEN_MAX bytes after bug 17522 fix
[31184] FAIL: elf/tst-tlsgap
[31185] Incorrect thread point access in _dl_tlsdesc_undefweak and _dl_tlsdesc_dynamic
@@ -5,6 +5,12 @@ See the end for copying conditions.
Please send GNU C library bug reports via <https://sourceware.org/bugzilla/>
using `glibc' in the "product" field.

+Version 2.41
+
+The following bugs are resolved with this release:
+
+ [31890] resolv: Allow short error responses to match any DNS query
[31965] rseq extension mechanism does not work as intended
+
Version 2.40

Major new features:
diff --git a/resolv/Makefile b/resolv/Makefile
index 2f99eb3862..cca0748f9a 100644
index 5f44f5896b..d927e337d9 100644
--- a/resolv/Makefile
+++ b/resolv/Makefile
@@ -106,6 +106,7 @@ tests += \
Expand All @@ -48,10 +53,10 @@ index 2f99eb3862..cca0748f9a 100644
$(objpfx)tst-resolv-threads: $(objpfx)libresolv.so $(shared-thread-library)
$(objpfx)tst-resolv-txnid-collision: $(objpfx)libresolv.a \
diff --git a/resolv/res_send.c b/resolv/res_send.c
index d098eba470..bf4ce67b1d 100644
index ea7cf192b2..572e72c32f 100644
--- a/resolv/res_send.c
+++ b/resolv/res_send.c
@@ -1197,19 +1197,30 @@ send_dg(res_state statp,
@@ -1199,19 +1199,30 @@ send_dg(res_state statp,
}

/* Check for the correct header layout and a matching
Expand Down Expand Up @@ -89,7 +94,7 @@ index d098eba470..bf4ce67b1d 100644
matching_query = 2;
if (matching_query == 0)
/* Spurious UDP packet. Drop it and continue
@@ -1219,9 +1230,7 @@ send_dg(res_state statp,
@@ -1221,9 +1232,7 @@ send_dg(res_state statp,
goto wait;
}

Expand Down Expand Up @@ -219,5 +224,5 @@ index 0000000000..cf1e39876f
+
+#include <support/test-driver.c>
--
2.45.0
2.47.0

Loading