diff options
author | Sebastian Krahmer <krahmer@suse.de> | 2014-09-15 18:40:07 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-10-31 17:02:07 +0100 |
commit | 34bc07c5282a631c2663ae1ded0a186f46f64612 (patch) | |
tree | d1f353ba01de082bd983f54206f449ae7c657271 /libcacard | |
parent | 363ba1c72fed4425e7917afc36722584aaeaad8a (diff) |
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>
Diffstat (limited to 'libcacard')
0 files changed, 0 insertions, 0 deletions