]> Git Repo - qemu.git/commit
ivshmem: validate incoming_posn value from server
authorStefan Hajnoczi <[email protected]>
Mon, 15 Sep 2014 16:40:06 +0000 (18:40 +0200)
committerPaolo Bonzini <[email protected]>
Fri, 31 Oct 2014 16:01:59 +0000 (17:01 +0100)
commit363ba1c72fed4425e7917afc36722584aaeaad8a
treefa244724f2f8ce9b94b696c730a418af9f3c8780
parenta2e9011b4164894594bf0b2a2a59e9c55c58c17b
ivshmem: validate incoming_posn value from server

Check incoming_posn to avoid out-of-bounds array accesses if the ivshmem
server on the host sends invalid values.

Cc: Cam Macdonell <[email protected]>
Reported-by: Sebastian Krahmer <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
[AF: Tighten upper bound check for posn in close_guest_eventfds()]
Cc: [email protected]
Signed-off-by: Andreas Färber <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
hw/misc/ivshmem.c
This page took 0.025514 seconds and 4 git commands to generate.