================

----------------
drodriguez wrote:

Not easy to fix, because the existing code already had the bug, but passing 
`getSymbolByIndex(SymbolNum)` from untrusted input (the `SymbolNum` of a 
relocation) might lead to crashes (at best) or something worse. 
`getSymbolByIndex` has an `assert`, but that's disabled in non-assert builds.

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

Reply via email to