createELFObj() may call error(...), for example when file is too short.
In that case header is not set and following line lead to crash:
EMachine = ELFObj.getHeader()->e_machine;
Patch fixes the issue.
Differential D25233
[ELF] - Do not crash when unable to parse ELF object file. grimar on Oct 4 2016, 5:30 AM. Authored by
Details createELFObj() may call error(...), for example when file is too short. EMachine = ELFObj.getHeader()->e_machine; Patch fixes the issue.
Diff Detail
Event Timeline
|