diff options
author | emaste <emaste@FreeBSD.org> | 2014-12-30 22:04:24 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2014-12-30 22:04:24 +0000 |
commit | 65848ba7938d637d57541ab63b36c13518926c9f (patch) | |
tree | 2183fa957d1f41e84c4287839c26d4106f398a63 /sys/amd64/vmm | |
parent | 80ecdea1cc16e1e19449c9bf803bf14507f1857b (diff) | |
download | FreeBSD-src-65848ba7938d637d57541ab63b36c13518926c9f.zip FreeBSD-src-65848ba7938d637d57541ab63b36c13518926c9f.tar.gz |
Check for multiplication integer overflow in CHECK_EHDR
The initial fix in r276374 is valid only for 64-bit objects. Revert it
and return an error in CHECK_EHDR if the multiplication would overflow.
The original buffer overflow issue was found with the security/afl
fuzzer and has upstream elftoolchain ticket 462. The 32-bit object issue
with r276374 found by antoine@ during an i386 exp-run.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/amd64/vmm')
0 files changed, 0 insertions, 0 deletions