]> 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:56:05 +0000 (18:56 +0100)
commit71fca07505e8bf7be2e9a929064ebee57e31ab8c
tree48ced1b9ae3020dc71afbce5d004d2ac720b4a9e
parentb2ab6ce0f5a9fa4631a8cc55bdf652deaa5dc47c
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