emaste 227bb2b2ea libelf: Improve ELF header validation
Avoid integer overflow and reading past EOF.

MFC of r276427, r276443, r277249 from contrib/elftoolchain.
2015-01-23 04:07:07 +00:00
..