]> git.ipfire.org Git - thirdparty/glibc.git/commit
Don't write beyond destination in __mempcpy_avx512_no_vzeroupper (bug 23196)
authorAndreas Schwab <schwab@suse.de>
Thu, 24 May 2018 12:39:18 +0000 (14:39 +0200)
committerFangrui Song <i@maskray.me>
Fri, 27 Aug 2021 23:22:13 +0000 (16:22 -0700)
commitc4fde9669a5782479c1d6bd964b6339b5130b7e2
treeedd8dca3bce8a748c74bb7a94d2386597244e08b
parentda768de04f2cdbf6117bddb7a23593d6fb4356fb
Don't write beyond destination in __mempcpy_avx512_no_vzeroupper (bug 23196)

When compiled as mempcpy, the return value is the end of the destination
buffer, thus it cannot be used to refer to the start of it.

(cherry picked from commit 9aaaab7c6e4176e61c59b0a63c6ba906d875dc0e)
ChangeLog
NEWS
string/test-mempcpy.c
sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S