Do not create invalid pointers in C code of string functions.
authorTorvald Riegel <triegel@redhat.com>
Fri, 3 Jul 2015 18:35:26 +0000 (20:35 +0200)
committerTorvald Riegel <triegel@redhat.com>
Tue, 7 Jul 2015 11:40:12 +0000 (13:40 +0200)
commit213a2be7b4f08aba6d2e863106fa6c6b123f2360
tree8b0cdfc9d91d06815ba33b5d500c9a4146a63a68
parent01964dd6638ecd6409d4d63979ba0e93aba742f5
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
NEWS
sysdeps/x86/bits/string.h