summaryrefslogtreecommitdiffstats
path: root/libc/string/__memmove_chk.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/__memmove_chk.c')
-rw-r--r--libc/string/__memmove_chk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/string/__memmove_chk.c b/libc/string/__memmove_chk.c
index 5a6eb4d..529eb8f 100644
--- a/libc/string/__memmove_chk.c
+++ b/libc/string/__memmove_chk.c
@@ -47,6 +47,7 @@ void *__memmove_chk (void *dest, const void *src,
if (len > dest_len) {
__libc_android_log_print(ANDROID_LOG_FATAL, "libc",
"*** memmove buffer overflow detected ***\n");
+ __libc_android_log_event_uid(BIONIC_EVENT_MEMMOVE_BUFFER_OVERFLOW);
abort();
}