]> 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:52:10 +0000 (18:52 +0100)
commit2c8a7f14fac3628b6a06cc76cdfda54a7ac20386
tree8be50b23afd80e0c0aab03cac0e297dec3cb7ee3
parent2c882bf9c15d206aaf04766d1b8e3ae5b1002cc2
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.

(cherry picked from commit 61c3450db96dce96ad2b24b4f0b548e6a46d68e5)
NEWS
sysdeps/x86/dl-cacheinfo.h