am a85606e1: am c100a100: Merge "\'Avoid confusing "read prevented write" log messages\' 2."

* commit 'a85606e1563c2153bea3c73dfe4ca1588e778f22':
  'Avoid confusing "read prevented write" log messages' 2.
This commit is contained in:
Elliott Hughes 2013-10-15 17:38:17 -07:00 committed by Android Git Automerger
commit f2a760dca7
16 changed files with 16 additions and 16 deletions

View File

@ -224,4 +224,4 @@ END(__strcat_chk_failed)
.data
error_string:
.string "strcat prevented write past end of buffer"
.string "strcat: prevented write past end of buffer"

View File

@ -185,4 +185,4 @@ END(__strcpy_chk_failed)
.data
error_string:
.string "strcpy prevented write past end of buffer"
.string "strcpy: prevented write past end of buffer"

View File

@ -109,4 +109,4 @@ END(__memcpy_chk_fail)
.data
error_string:
.string "memcpy prevented write past end of buffer"
.string "memcpy: prevented write past end of buffer"

View File

@ -197,4 +197,4 @@ END(memset)
.data
error_string:
.string "memset prevented write past end of buffer"
.string "memset: prevented write past end of buffer"

View File

@ -227,4 +227,4 @@ END(__strcat_chk_fail)
.data
error_string:
.string "strcat prevented write past end of buffer"
.string "strcat: prevented write past end of buffer"

View File

@ -191,4 +191,4 @@ END(__strcpy_chk_fail)
.data
error_string:
.string "strcpy prevented write past end of buffer"
.string "strcpy: prevented write past end of buffer"

View File

@ -89,4 +89,4 @@ END(__memcpy_chk_fail)
.data
error_string:
.string "memcpy prevented write past end of buffer"
.string "memcpy: prevented write past end of buffer"

View File

@ -201,4 +201,4 @@ END(__memset_large_copy)
.data
error_string:
.string "memset prevented write past end of buffer"
.string "memset: prevented write past end of buffer"

View File

@ -401,4 +401,4 @@ END(memcpy)
.data
error_string:
.string "memcpy prevented write past end of buffer"
.string "memcpy: prevented write past end of buffer"

View File

@ -130,4 +130,4 @@ END(memset)
.data
error_string:
.string "memset prevented write past end of buffer"
.string "memset: prevented write past end of buffer"

View File

@ -222,4 +222,4 @@ END(__strcat_chk_failed)
.data
error_string:
.string "strcat prevented write past end of buffer"
.string "strcat: prevented write past end of buffer"

View File

@ -184,4 +184,4 @@ END(__strcpy_chk_failed)
.data
error_string:
.string "strcpy prevented write past end of buffer"
.string "strcpy: prevented write past end of buffer"

View File

@ -89,4 +89,4 @@ END(__memcpy_chk_fail)
.data
error_string:
.string "memcpy prevented write past end of buffer"
.string "memcpy: prevented write past end of buffer"

View File

@ -116,4 +116,4 @@ END(memset)
.data
error_string:
.string "memset prevented write past end of buffer"
.string "memset: prevented write past end of buffer"

View File

@ -63,7 +63,7 @@ extern "C" int __vsnprintf_chk(char* dest, size_t supplied_size, int /*flags*/,
* greater than 0.
*/
extern "C" int __snprintf_chk(char* dest, size_t supplied_size, int flags,
size_t dest_len_from_compiler, const char* format, ...) {
size_t dest_len_from_compiler, const char* format, ...) {
va_list va;
va_start(va, format);
int result = __vsnprintf_chk(dest, supplied_size, flags, dest_len_from_compiler, format, va);

View File

@ -43,7 +43,7 @@
* greater than 0.
*/
extern "C" int __vsprintf_chk(char* dest, int /*flags*/,
size_t dest_len_from_compiler, const char* format, va_list va) {
size_t dest_len_from_compiler, const char* format, va_list va) {
int result = vsnprintf(dest, dest_len_from_compiler, format, va);
if ((size_t) result >= dest_len_from_compiler) {
__fortify_chk_fail("vsprintf: prevented write past end of buffer", 0);