platform_bionic/libc/malloc_debug/tests
Iris Chang b34415046c malloc debug: fix LogFreeError error log
When free_track option is enabled and malloc debug detects error in
VerifyFreedPointer flow, if freed pointer's usable_size is more than
g_debug->config().fill_on_free_bytes(), the error log is not correct.

The max. bytes printed to error message should be the max bytes to
cmp, not usable size.

Bug: 124420174
Test: build pass and test pass
Change-Id: I41f35ab3330e49e0a6ad276d405bf4f6c3f0ea92
2019-02-14 17:15:03 -08:00
..
backtrace_fake.cpp Add support for using the new unwinder. 2018-05-24 08:44:53 -07:00
backtrace_fake.h Add support for using the new unwinder. 2018-05-24 08:44:53 -07:00
libc_fake.cpp Malloc debug rewrite. 2016-01-25 10:54:21 -08:00
log_fake.cpp Add support for using the new unwinder. 2018-05-24 08:44:53 -07:00
log_fake.h Malloc debug rewrite. 2016-01-25 10:54:21 -08:00
malloc_debug_config_tests.cpp Bionic malloc debug: add a new option "abort_on_error" 2019-01-22 15:54:36 -08:00
malloc_debug_system_tests.cpp Disable malloc debug intercepts when exiting. 2018-07-11 15:23:00 -07:00
malloc_debug_unit_tests.cpp malloc debug: fix LogFreeError error log 2019-02-14 17:15:03 -08:00