Skip to content

Patches to fix undefined behavior bugs

Gabriel Ferreira requested to merge Gabrielcarvfer/ns-3-dev:UBSAN into master

Our friends at Ampere told me we had an undefined behavior bug causing issues with Clang.

I re-ran out test suites, now configuring sanitizers to be more stringent and abort on the first issue found instead of trying to recover and continue.

We failed at 474 tests out of 759 tests.

Patches are still work-in-progress, but we are passing all the tests. Update: We were passing all tests at the time this MR was created, after applying it, !1738 and !1739 (merged). New UB bugs were introduced and need to be handled in a separate MR. With this patch alone, we pass at 452 out of 759 (-167).

Edited by Gabriel Ferreira

Merge request reports