News for hackers. Stuff that matters.
Re:Eliminating Data Races in Firefox by loeg on Tuesday April 06, 2021 @07:24PM (#26718609)
UBSan has "false" positives, in that unsigned integer overflow is not C/C++ UB. They've decided to warn about it anyway, and sometimes it could be a bug, so that isn't totally unreasonable.
Re:Eliminating Data Races in Firefox by codys on Tuesday April 06, 2021 @08:25PM (#26719067)
only clang (not gcc) ships ubsan with support for checking unsigned integer overflow. clang's ubsan does not enable it by default (it must be explicitly enabled).

As a result, it's not clear that it's a false positive in the technical sense here (as one would need to enable checking for unsigned overflow explicitly).