summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/tests/malloc_hooks_tests.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2017-08-22 11:24:09 -0700
committerChristopher Ferris <cferris@google.com>2017-08-22 13:17:28 -0700
commit92476407115f4431c5888c02cdb5f476b26e393a (patch)
treed1724f23f16883ab14e7fca02054973635bc6141 /libc/malloc_hooks/tests/malloc_hooks_tests.cpp
parent3ce8834e53304b66e5b0d0d56bc0efea1a172e95 (diff)
Refactor BufferOutputStream.
- Rewrite BufferOutputStream to handle 0 sized buffers and to get rid of an unnecessary loop. - Add tests to verify overflow corner cases. - Implement async_safe_format_buffer to call async_safe_format_buffer_va_list instead of duplicate the code. Test: Ran new unit tests, booted on angler. Change-Id: I7fb13e209f5b7443d212f55aab4b05ff2e0e8219
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions