diff options
author | Tom Cherry <tomcherry@google.com> | 2016-01-26 15:27:07 -0800 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2016-01-26 23:51:01 +0000 |
commit | 8352475c756663fb22fce851a5ff9b9d8320f4de (patch) | |
tree | 787da5e520fe3a9426e9cb5fb3fb4ea39105c84e /libc/malloc_debug/malloc_debug.cpp | |
parent | ced73ee45e04a991ce1295a38364568a17884eed (diff) |
Replace snprintf() with __libc_format_buffer()
If snprintf() is called from the linker, it may erroneously return a
null string. The libc internal __libc_format_buffer() does not have
this problem, so it is now used instead.
Bug: 26756577
Change-Id: I37a97e27f59b3c0a087f54a6603cc3aff7f07522
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions