Re: Null pointer dereferences
Posted on 2019-11-06, 20:28
No it's not. Members are always at a fixed location within classes. Under what situation do you imagine it returning random garbage? When the compiler assumes that 'chip' isn't null, because that would be UB and the compiler is free to assume that this can't happen. Also, the clang ubsan is not …