[PATCH] D25467: [ELF] - Alternative fix to prevent possible crash on large output.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 12 02:03:27 PDT 2016


grimar added a comment.

In https://reviews.llvm.org/D25467#567497, @ruiu wrote:

> The new functions seem too complicated. There are a lot of ways to crash the linker by giving incorrect input. We deliberately ignore some cases such as relocations having too large values. Why do you want to fix this specifically? This is not even the only place where overflow can happen. I think we should leave it as is.


I am not fixing this specifically, I am trying to fix every crash or hang I see during AFL runs. There is no high or low priority for me, each crash is a problem I think.


https://reviews.llvm.org/D25467





More information about the llvm-commits mailing list