HomeFreeBSD

libelf: Improve ELF header validation

Description

libelf: Improve ELF header validation

Avoid integer overflow and reading past EOF.

MFC of r276427, r276443, r277249 from contrib/elftoolchain.

Details

Provenance
emasteAuthored on
Parents
rS277557: crunchide: Correct 64-bit section header offset
Branches
Unknown
Tags
Unknown

Event Timeline