summaryrefslogtreecommitdiffstats
path: root/libc/string/__strcpy_chk.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/__strcpy_chk.c')
-rw-r--r--libc/string/__strcpy_chk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/string/__strcpy_chk.c b/libc/string/__strcpy_chk.c
index 85aa19d..79486b4 100644
--- a/libc/string/__strcpy_chk.c
+++ b/libc/string/__strcpy_chk.c
@@ -48,6 +48,7 @@ char *__strcpy_chk (char *dest, const char *src, size_t dest_len)
if (src_len > dest_len) {
__libc_android_log_print(ANDROID_LOG_FATAL, "libc",
"*** strcpy buffer overflow detected ***\n");
+ __libc_android_log_event_uid(BIONIC_EVENT_STRCPY_BUFFER_OVERFLOW);
abort();
}