commit | e4ffd01586b55fde78027b611c0184a0f738834d | [log] [tgz] |
---|---|---|
author | Florian Mayer <fmayer@google.com> | Mon May 23 16:50:36 2022 -0700 |
committer | Florian Mayer <fmayer@google.com> | Mon May 23 23:53:54 2022 +0000 |
tree | d666b51666a51b998dbd5354d67a046829ad9f76 | |
parent | 852411b922034aa76fd017dfdb0d658780ee5b76 [diff] |
Fix out of bounds access in test. The test code constructed an `std::string` without a size from a non-terminated string, which causes a memory error. Test: atest 'DefaultVhalImplTest#testDump' on flame_hwasan Bug: 233677013 Change-Id: I7d27c009c2e3307895a4a741743332fd4eed0e24