This diff fixes an UBSAN issue introduced in D4841:
- It moves the master_test_suite_t reference to a variable;
- It adds an exception for the root cause of the UBSAN failure
Note that for some reason, this error only occurs with Clang < 9.
Differential D4848
[UBSAN] Fix UBSAN issue in test_bitcon_main.cpp Fabien on Jan 7 2020, 18:10. Authored by Tags None Subscribers None
Details
This diff fixes an UBSAN issue introduced in D4841:
Note that for some reason, this error only occurs with Clang < 9. Run the build-ubsan configuration on CI.
Diff Detail
Event Timeline |