commit | 6861c6f85e6563695c4763e56756398c9d5f6e14 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Fri Oct 04 09:45:24 2013 -0700 |
committer | Nick Kralevich <nnk@google.com> | Fri Oct 04 11:43:30 2013 -0700 |
tree | c1d460b532b20b094f8bad905159f62a076c7eaf | |
parent | a81fd294be55f8781dbf22f381a3335212d8dbd9 [diff] [blame] |
Make error messages even better! Change-Id: I72bd1eb1d526dc59833e5bc3c636171f7f9545af
diff --git a/libc/bionic/__strncat_chk.cpp b/libc/bionic/__strncat_chk.cpp index 4f4b327..296217e 100644 --- a/libc/bionic/__strncat_chk.cpp +++ b/libc/bionic/__strncat_chk.cpp
@@ -59,7 +59,7 @@ len--; dest_buf_size--; if (__predict_false(dest_buf_size == 0)) { - __fortify_chk_fail("strncat buffer overflow prevented", + __fortify_chk_fail("strncat prevented write past end of buffer", BIONIC_EVENT_STRNCAT_BUFFER_OVERFLOW); }