summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorDmitry Fleytman2014-04-04 11:45:22 +0200
committerPeter Maydell2014-04-14 12:50:56 +0200
commitf12d048a523780dbda702027d4a91b62af1a08d7 (patch)
tree90290b1eb5cd648518ad84bd5fe2e0c12cb00a51 /hw
parentvmxnet3: validate interrupt indices read on migration (diff)
downloadqemu-f12d048a523780dbda702027d4a91b62af1a08d7.tar.gz
qemu-f12d048a523780dbda702027d4a91b62af1a08d7.tar.xz
qemu-f12d048a523780dbda702027d4a91b62af1a08d7.zip
vmxnet3: validate queues configuration read on migration
CVE-2013-4544 Signed-off-by: Dmitry Fleytman <dmitry@daynix.com> Reported-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Message-id: 1396604722-11902-5-git-send-email-dmitry@daynix.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw')
-rw-r--r--hw/net/vmxnet3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/net/vmxnet3.c b/hw/net/vmxnet3.c
index a0723c057d..ddcee4bd21 100644
--- a/hw/net/vmxnet3.c
+++ b/hw/net/vmxnet3.c
@@ -2391,6 +2391,7 @@ static int vmxnet3_post_load(void *opaque, int version_id)
}
}
+ vmxnet3_validate_queues(s);
vmxnet3_validate_interrupts(s);
return 0;