diff options
author | 2014-09-15 18:40:06 +0200 | |
---|---|---|
committer | 2014-10-31 17:01:59 +0100 | |
commit | 363ba1c72fed4425e7917afc36722584aaeaad8a (patch) | |
tree | fa244724f2f8ce9b94b696c730a418af9f3c8780 /scripts/switch-timer-api | |
parent | ivshmem: Check ivshmem_read() size argument (diff) | |
download | qemu-363ba1c72fed4425e7917afc36722584aaeaad8a.tar.xz qemu-363ba1c72fed4425e7917afc36722584aaeaad8a.zip |
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 <cam@cs.ualberta.ca>
Reported-by: Sebastian Krahmer <krahmer@suse.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
[AF: Tighten upper bound check for posn in close_guest_eventfds()]
Cc: qemu-stable@nongnu.org
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions