aboutsummaryrefslogtreecommitdiff
path: root/hw/net
diff options
context:
space:
mode:
authorDmitry Fleytman <dmitry@daynix.com>2014-04-04 12:45:22 +0300
committerPeter Maydell <peter.maydell@linaro.org>2014-04-14 11:50:56 +0100
commitf12d048a523780dbda702027d4a91b62af1a08d7 (patch)
tree90290b1eb5cd648518ad84bd5fe2e0c12cb00a51 /hw/net
parent3c99afc779c2c78718a565ad8c5e98de7c2c7484 (diff)
downloadqemu-f12d048a523780dbda702027d4a91b62af1a08d7.zip
qemu-f12d048a523780dbda702027d4a91b62af1a08d7.tar.gz
qemu-f12d048a523780dbda702027d4a91b62af1a08d7.tar.bz2
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/net')
-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 a0723c0..ddcee4b 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;