diff -Nru glibc-2.34/debian/changelog glibc-2.34/debian/changelog --- glibc-2.34/debian/changelog 2022-08-27 11:38:11.000000000 +0000 +++ glibc-2.34/debian/changelog 2022-09-15 03:05:05.000000000 +0000 @@ -1,3 +1,10 @@ +glibc (2.34-7+rpi1) bookworm-staging; urgency=medium + + [changes brought forward from 2.25-2+rpi1 by Peter Michael Green at Wed, 29 Nov 2017 03:00:21 +0000] + * Disable testsuite. + + -- Peter Michael Green Thu, 15 Sep 2022 03:05:05 +0000 + glibc (2.34-7) unstable; urgency=medium [ Samuel Thibault ] diff -Nru glibc-2.34/debian/patches/auto-2.34-7+rpi1-de346af12a6cb5181ed2ab174fb35c88f3b64f4b-1663212931 glibc-2.34/debian/patches/auto-2.34-7+rpi1-de346af12a6cb5181ed2ab174fb35c88f3b64f4b-1663212931 --- glibc-2.34/debian/patches/auto-2.34-7+rpi1-de346af12a6cb5181ed2ab174fb35c88f3b64f4b-1663212931 1970-01-01 00:00:00.000000000 +0000 +++ glibc-2.34/debian/patches/auto-2.34-7+rpi1-de346af12a6cb5181ed2ab174fb35c88f3b64f4b-1663212931 2022-09-15 03:05:05.000000000 +0000 @@ -0,0 +1,61 @@ +From: Peter Michael Green +Subject: Automatically generated patch (2.34-7+rpi1) + +Last (up to) 3 git changes, FYI: + +commit de346af12a6cb5181ed2ab174fb35c88f3b64f4b +Merge: d5d615e58 bf75deb1e +Author: Peter Michael Green +Date: Thu Sep 15 03:05:49 2022 +0000 + + Manual merge of version 2.33-8+rpi1 and 2.34-7 to produce 2.34-7+rpi1 + +commit bf75deb1e0a596e20f3cd137443bccd254274826 +Merge: bfcf69abc 10648b8c1 +Author: Aurelien Jarno +Date: Sat Aug 27 12:38:11 2022 +0100 + + Merge glibc (2.34-7) import into refs/heads/workingbranch + +commit bfcf69abc86c46543cd675a7d6e4328d6857ca5e +Author: GNU Libc Maintainers +Date: Sat Aug 27 12:38:11 2022 +0100 + + git-localedef-check-magic + + commit 56ea4bed7369f32e3c7c935f9e33ee38e9f78143 + Author: Aurelien Jarno + Date: Sun Dec 5 11:51:17 2021 +0100 + + localedef: check magic value on archive load [BZ #28650] + + localedef currently blindly trust the archive header. When passed an + archive file with the wrong endianess, this leads to a segmentation + fault: + + $ localedef --big-endian --list-archive /usr/lib/locale/locale-archive + Segmentation fault (core dumped) + + When passed non-archive files, asserts are reported on the best case, + but sometimes it can lead to a segmentation fault: + + $ localedef --list-archive /bin/true + localedef: programs/locarchive.c:1643: show_archive_content: Assertion `used < GET (head->namehash_used)' failed. + Aborted (core dumped) + + $ localedef --list-archive /usr/lib/locale/C.utf8/LC_COLLATE + Segmentation fault (core dumped) + + This patch improves the user experience by looking at the magic value, + which is always written, but never checked. It should still be possible + to trigger a segmentation fault with crafted files, but this already + catch many cases. + + + Gbp-Pq: Topic any + Gbp-Pq: Name git-localedef-check-magic.patch +--- + +diff --git a/sysdeps/x86_64/configure b/sysdeps/x86_64/configure +old mode 100755 +new mode 100644 diff -Nru glibc-2.34/debian/patches/series glibc-2.34/debian/patches/series --- glibc-2.34/debian/patches/series 2022-08-26 21:40:36.000000000 +0000 +++ glibc-2.34/debian/patches/series 2022-09-15 03:05:05.000000000 +0000 @@ -135,3 +135,4 @@ any/local-test-install.diff any/local-cross.patch any/git-localedef-check-magic.patch +auto-2.34-7+rpi1-de346af12a6cb5181ed2ab174fb35c88f3b64f4b-1663212931 diff -Nru glibc-2.34/debian/rules glibc-2.34/debian/rules --- glibc-2.34/debian/rules 2022-08-27 10:25:34.000000000 +0000 +++ glibc-2.34/debian/rules 2022-09-15 03:05:05.000000000 +0000 @@ -98,7 +98,7 @@ BASE_MIG = mig DEB_GCC_VERSION ?= -11 -RUN_TESTSUITE = yes +RUN_TESTSUITE = no TIMEOUTFACTOR = 25 # Set cross and native compiler names, including version.