]> 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 18:24:57 +0000 (19:24 +0100)
commit1b1f940938b6971a8c4eba33abf9cdcec83298a5
tree393824e0487f6a8f10ad00b4e1086462686ca4b5
parentea5a709924503bc55767accf13102807faa19da0
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