Open
Description
Pointer arithmetic is required to stay in bounds, even if you don't use the pointer, but (as far as I can tell), Clang has no sanitizer that catches this. See https://godbolt.org/z/PE6P31fcq
I'm guessing ASan would have the easiest time catching this, since it knows where all the allocations are?