commit | 009f38478e6a1c47aa355b0aed80b69ba91b9c61 | [log] [tgz] |
---|---|---|
author | Geremy Condra <gcondra@google.com> | Fri Jun 08 14:39:11 2012 -0700 |
committer | Geremy Condra <gcondra@google.com> | Mon Jun 11 11:30:56 2012 -0700 |
tree | 4ddfedaecd744900e449d68972157afb99f27908 | |
parent | 76656afc6dd069fcfda5768e6e54bb85e4e99942 [diff] [blame] |
Added actual event logging calls to the FORTIFY_SOURCE methods. Change-Id: I3bf4fa8678c33187cb8ce4b75e666ddcd24403ab
diff --git a/libc/string/__memcpy_chk.c b/libc/string/__memcpy_chk.c index aed3ec2..e79f6ac 100644 --- a/libc/string/__memcpy_chk.c +++ b/libc/string/__memcpy_chk.c
@@ -47,6 +47,7 @@ if (len > dest_len) { __libc_android_log_print(ANDROID_LOG_FATAL, "libc", "*** memcpy buffer overflow detected ***\n"); + __libc_android_log_event_uid(BIONIC_EVENT_MEMCPY_BUFFER_OVERFLOW); abort(); }