]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86: Avoid integer truncation with large cache sizes (bug 32470)
authorFlorian Weimer <fweimer@redhat.com>
Tue, 17 Dec 2024 17:12:03 +0000 (18:12 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 17 Dec 2024 17:49:50 +0000 (18:49 +0100)
commit61c3450db96dce96ad2b24b4f0b548e6a46d68e5
treee0d2086ee13ce974bf0e7b0a11266c5ec1d5f9bf
parent77e921bc611ea56eba206354c5134af0610cf6fe
x86: Avoid integer truncation with large cache sizes (bug 32470)

Some hypervisors report 1 TiB L3 cache size.  This results
in some variables incorrectly getting zeroed, causing crashes
in memcpy/memmove because invariants are violated.
sysdeps/x86/dl-cacheinfo.h