diff options
Diffstat (limited to 'libc/bionic/__vsprintf_chk.cpp')
-rw-r--r-- | libc/bionic/__vsprintf_chk.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/bionic/__vsprintf_chk.cpp b/libc/bionic/__vsprintf_chk.cpp index 00010cfca..e1d10f55a 100644 --- a/libc/bionic/__vsprintf_chk.cpp +++ b/libc/bionic/__vsprintf_chk.cpp @@ -52,9 +52,7 @@ extern "C" int __vsprintf_chk( int ret = vsnprintf(dest, dest_len_from_compiler, format, va); if ((size_t) ret >= dest_len_from_compiler) { - __libc_android_log_print(ANDROID_LOG_FATAL, "libc", - "*** vsprintf buffer overflow detected ***\n"); - abort(); + __fortify_chk_fail("vsprintf buffer overflow", 0); } return ret; |