wok-current rev 25776

Patch glibc (CVE-2025-4802) again
author Stanislas Leduc <shann@slitaz.org>
date Thu May 22 19:57:23 2025 +0000 (4 months ago)
parents 4997842104b5
children 5f4849b8241b
files glibc/receipt
line diff
     1.1 --- a/glibc/receipt	Thu May 22 19:19:31 2025 +0000
     1.2 +++ b/glibc/receipt	Thu May 22 19:57:23 2025 +0000
     1.3 @@ -38,11 +38,6 @@
     1.4  	# GHOST
     1.5  	patch -Np1 -i $stuff/glibc-2.14.1-CVE-2015-0235.patch
     1.6  
     1.7 -	# Patch for CVE-2025-4802, adjust for backport to 2.28
     1.8 -	# see https://www.cve.org/CVERecord?id=CVE-2025-4802
     1.9 -	# see https://sourceware.org/cgit/glibc/commit/?id=1e18586c
    1.10 -	patch -Np1 -i $stuff/CVE-2025-4802.patch
    1.11 -
    1.12  	# Build in a separate directory.
    1.13  	mkdir ../glibc-build && cd ../glibc-build
    1.14  
    1.15 @@ -140,6 +135,11 @@
    1.16  	# https://sourceware.org/git/?p=glibc.git;a=patch;h=682ad4c8 (adjust little for 2.28)
    1.17  	patch -p1 < $stuff/glibc-2.28-CVE-2024-2961.patch
    1.18  
    1.19 +	# Patch for CVE-2025-4802, adjust for backport to 2.28
    1.20 +	# see https://www.cve.org/CVERecord?id=CVE-2025-4802
    1.21 +	# see https://sourceware.org/cgit/glibc/commit/?id=1e18586c
    1.22 +	patch -p1 -i $stuff/CVE-2025-4802.patch
    1.23 +
    1.24  	# Update for binutils 2.29, see https://sourceware.org/bugzilla/show_bug.cgi?id=21661
    1.25  	sed -i 's|obstack_compat;|obstack_compat  __attribute__ ((nocommon));|' malloc/obstack.c
    1.26