usx95 wrote:

Thanks for the fix. UAF in Lifetime analysis is pretty ironical :) That's C++ 
for you!

In hindsight, this would have been caught by lifetime analysis in by making 
`llvm::reverse` `lifetimebound`. https://godbolt.org/z/YYTdzdhnP but we do not 
yet use lifetime analysis while building clang.

https://github.com/llvm/llvm-project/pull/199455
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to