]> git.ipfire.org Git - thirdparty/qemu.git/commit
multiboot: Check validity of mh_header_addr
authorKevin Wolf <kwolf@redhat.com>
Wed, 14 Mar 2018 16:57:45 +0000 (17:57 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 21 Mar 2018 14:13:25 +0000 (15:13 +0100)
commitdbf2dce7aabb7723542bd182175904846d70b0f9
tree76fc2434242e81598e8d2a47189727f9f78050a9
parentb17a9054a0652a1481be48a6729e972abf02412f
multiboot: Check validity of mh_header_addr

I couldn't find a case where this prevents something bad from happening
that isn't already caught by other checks, but let's err on the safe
side and check that mh_header_addr is as expected.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Jack Schwartz <jack.schwartz@oracle.com>
hw/i386/multiboot.c