OSDN Git Service

FORTIFY_SOURCE: emphasize prevention in error messages.
authorNick Kralevich <nnk@google.com>
Fri, 4 Oct 2013 15:57:17 +0000 (08:57 -0700)
committerNick Kralevich <nnk@google.com>
Fri, 4 Oct 2013 15:57:17 +0000 (08:57 -0700)
commite2617290fca2ebbc4d64cae5a8d8d9e9f8e6c701
tree7cd7f32b7fdd038bbaae6043d36a6854d1db5379
parent41ba05e22ed1829cc7431fd4899cfa5725c76044
FORTIFY_SOURCE: emphasize prevention in error messages.

FORTIFY_SOURCE prevents buffer overflows from occurring.
However, the error message often implies that we only
detect it, not prevent it.

Bring more clarity to the error messages by emphasizing
prevention over detection.

Change-Id: I5f3e1478673bdfc589e6cc4199fce8e52e197a24
16 files changed:
libc/bionic/__fgets_chk.cpp
libc/bionic/__memcpy_chk.cpp
libc/bionic/__memmove_chk.cpp
libc/bionic/__memset_chk.cpp
libc/bionic/__recvfrom_chk.cpp
libc/bionic/__strcat_chk.cpp
libc/bionic/__strchr_chk.cpp
libc/bionic/__strcpy_chk.cpp
libc/bionic/__strlcat_chk.cpp
libc/bionic/__strlcpy_chk.cpp
libc/bionic/__strlen_chk.cpp
libc/bionic/__strncat_chk.cpp
libc/bionic/__strncpy_chk.cpp
libc/bionic/__strrchr_chk.cpp
libc/bionic/__vsnprintf_chk.cpp
libc/bionic/__vsprintf_chk.cpp