]> xenbits.xensource.com Git - qemu-xen.git/commit
ivshmem-client: check the number of vectors
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 23 Jun 2015 14:41:58 +0000 (16:41 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Sat, 24 Oct 2015 16:03:16 +0000 (18:03 +0200)
commit95204aa951ceb28eb6d4ce43bce09a58cbad83d8
tree676d10fcac8d65ba893b2e78088f7c57a72e5f0f
parenta75eb03b9fca3af291ec2c433ddda06121ae927d
ivshmem-client: check the number of vectors

Check the number of vectors received from the server, to avoid
out of bound array access.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
contrib/ivshmem-client/ivshmem-client.c