summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2016-01-26 15:27:07 -0800
committerTom Cherry <tomcherry@google.com>2016-01-26 23:51:01 +0000
commit8352475c756663fb22fce851a5ff9b9d8320f4de (patch)
tree787da5e520fe3a9426e9cb5fb3fb4ea39105c84e /libc/malloc_debug/malloc_debug.cpp
parentced73ee45e04a991ce1295a38364568a17884eed (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