From 213a2be7b4f08aba6d2e863106fa6c6b123f2360 Mon Sep 17 00:00:00 2001 From: Torvald Riegel Date: Fri, 3 Jul 2015 20:35:26 +0200 Subject: Do not create invalid pointers in C code of string functions. Some of the x86 string functions create pointers based on input strings that may be outside of the input strings. When this happens in C code, the compiler can potentially detect this, leading to warnings in application code when those string functions are inlined. Perform those operations in the assembly code instead of the C code to fix this. --- ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 15deac7..c6c3356 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2015-07-07 Torvald Riegel + + [BZ #18633] + * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid + pointer in C code. + (__strcat_c): Likewise. + (__strcat_g): Likewise. + 2015-07-07 Cyril Hrubis [BZ #18592] -- cgit v1.1