[PATCH] D67122: [UBSan][clang][compiler-rt] Applying non-zero offset to nullptr is undefined behaviour
Jordan Rupprecht via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 6 16:29:59 PDT 2019
rupprecht added a comment.
> But TLDR, either the fix in https://github.com/google/filament/pull/1566
> is incorrect and the actually-bad code is elsewhere,
> or you have some other unsanitized UB elsewhere. Could be both :S
My money is on "both" :p
I tested a random sample of a couple thousand tests internally and ~1% of them failed, but when I looked at them, they were all coming from two separate widely used libraries. I fixed those, and I'll do a broader test now to see how bad the long tail of issues are.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67122/new/
https://reviews.llvm.org/D67122
More information about the cfe-commits
mailing list