Previously if sh_size of dynamic section was broken,
lld may crash. Or even may not crash if used 32 bits host.
(then value may be truncated to 32 bits when doing pointer arithmetic
and could be just zero).
Patch fixes the issue.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM
ELF/InputFiles.cpp | ||
---|---|---|
524 ↗ | (On Diff #73797) | getFilename(this) + ": getSectionContentsAsArray failed" |