summaryrefslogtreecommitdiff
path: root/string
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2018-05-22 10:37:59 +0200
committerAndreas Schwab <schwab@suse.de>2018-05-23 09:50:57 +0200
commit9aaaab7c6e4176e61c59b0a63c6ba906d875dc0e (patch)
tree8ce316f806948a2b6f3c29335d39e861dc91df84 /string
parent8f145c77123a565b816f918969e0e35ee5b89153 (diff)
downloadglibc-9aaaab7c6e4176e61c59b0a63c6ba906d875dc0e.tar.gz
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.
Diffstat (limited to 'string')
-rw-r--r--string/test-mempcpy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/string/test-mempcpy.c b/string/test-mempcpy.c
index c08fba895e..d98ecdd2d9 100644
--- a/string/test-mempcpy.c
+++ b/string/test-mempcpy.c
@@ -18,6 +18,7 @@
<http://www.gnu.org/licenses/>. */
#define MEMCPY_RESULT(dst, len) (dst) + (len)
+#define MIN_PAGE_SIZE 131072
#define TEST_MAIN
#define TEST_NAME "mempcpy"
#include "test-string.h"