Previously code would access invalid memory and may crash,
patch fixes the issue.
Was noticed by Rafael Ávila de Espíndola in comments for D25187.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D25239
[Object/ELF] - Do not crash on invalid sh_size value of REL[A] section. AbandonedPublic Authored by grimar on Oct 4 2016, 8:22 AM.
Details
Diff Detail Event Timeline
Revision Contents
Diff 73484 include/llvm/Object/ELF.h
test/Object/Inputs/invalid-relocation-sec-sh_size.elf-i386
test/Object/Inputs/invalid-relocation-sec-sh_size.elf-x86-64
test/Object/invalid.test
|