Improve __cxa_demangle#cxa_demangle_fuzz_167977068 diagnostics.
Bug: http://b/172465723 Test: treehugger Change-Id: I253a164f95705bd0cebe06483011b08187072691
This commit is contained in:
parent
56f1c406a5
commit
f266f26cb7
|
@ -41,6 +41,8 @@ TEST(__cxa_demangle, cxa_demangle_fuzz_152588929) {
|
|||
|
||||
TEST(__cxa_demangle, cxa_demangle_fuzz_167977068) {
|
||||
#if defined(__aarch64__)
|
||||
ASSERT_TRUE(__cxa_demangle("DTLeeeeeeeeeeeeeeeeeeeeeeeeeEEEEeeEEEE", 0, 0, 0) == nullptr);
|
||||
char* p = __cxa_demangle("DTLeeeeeeeeeeeeeeeeeeeeeeeeeEEEEeeEEEE", 0, 0, 0);
|
||||
ASSERT_EQ(nullptr, p) << p;
|
||||
free(p);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue