This is https://bugs.llvm.org/show_bug.cgi?id=42122.
If an object file has a size less than program header's file [offset + size]
(i.e. if we have overflow), llvm-objcopy crashes instead of reporting a
error.
The patch fixes this issue.
Differential D62898
[llvm-objcopy] - Emit error and don't crash if program header reaches past end of file. grimar on Jun 5 2019, 3:59 AM. Authored by
Details This is https://bugs.llvm.org/show_bug.cgi?id=42122. If an object file has a size less than program header's file [offset + size] The patch fixes this issue.
Diff Detail Event Timeline
Comment Actions
Comment Actions "goes past the end of the file" is the phrasing that I've seen GNU tools use and gets more to the point so I agree with James. Other than that this looks good to me! |
now -> now the
of program -> of the program