Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 23a83877 authored by Yi Kong's avatar Yi Kong
Browse files

Remove test that triggers undefined behavior

According to C++ standard, compiler is allowed to produce arbitrary
result if undefined behavior is triggered. It is not meaningful to have
a test to assert the behavior.

We tried to let UBSAN ignore the violation, but it does not work because
the UB happens in a different shared library.

Test: atest bluetooth-test-audio-hal-a2dp-provider-info64.ProviderInfoTest.TestCodecIndexStr
Bug: 334078285
Change-Id: I21bc60fd3211670df01538677b3147e07ba1042e
parent 588637ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment