Sebastian Krahmer 34bc07c528 ivshmem: Fix potential OOB r/w access
Fix OOB access via malformed incoming_posn parameters
and check that requested memory is actually alloc'ed.

Signed-off-by: Sebastian Krahmer <krahmer@suse.de>
[AF: Rebased, cleanups, avoid fd leak]
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>
2014-10-31 17:02:07 +01:00
..
2014-10-31 11:29:02 +01:00
2014-10-24 12:19:11 +01:00
2014-10-24 12:19:11 +01:00
2014-10-22 16:39:49 +01:00
2014-10-24 12:19:11 +01:00
2014-10-28 11:38:18 +01:00