diff options
author | Torvald Riegel <triegel@redhat.com> | 2015-07-03 20:35:26 +0200 |
---|---|---|
committer | Torvald Riegel <triegel@redhat.com> | 2015-07-07 13:40:12 +0200 |
commit | 213a2be7b4f08aba6d2e863106fa6c6b123f2360 (patch) | |
tree | 8b0cdfc9d91d06815ba33b5d500c9a4146a63a68 /ChangeLog | |
parent | 01964dd6638ecd6409d4d63979ba0e93aba742f5 (diff) | |
download | glibc-213a2be7b4f08aba6d2e863106fa6c6b123f2360.tar.gz glibc-213a2be7b4f08aba6d2e863106fa6c6b123f2360.tar.xz glibc-213a2be7b4f08aba6d2e863106fa6c6b123f2360.zip |
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 15deac774f..c6c3356228 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2015-07-07 Torvald Riegel <triegel@redhat.com> + + [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 <chrubis@suse.cz> [BZ #18592] |