aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Fleytman <dmitry@daynix.com>2014-04-04 12:45:21 +0300
committerPeter Maydell <peter.maydell@linaro.org>2014-04-14 11:50:49 +0100
commit3c99afc779c2c78718a565ad8c5e98de7c2c7484 (patch)
tree463cfa4a0e0385615c07dfccf7fe84f55b9d0b1b
parent9878d173f574df74bde0ff50b2f81009fbee81bb (diff)
vmxnet3: validate interrupt indices 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-4-git-send-email-dmitry@daynix.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--hw/net/vmxnet3.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/net/vmxnet3.c b/hw/net/vmxnet3.c
index 4fefc7bb49..a0723c057d 100644
--- a/hw/net/vmxnet3.c
+++ b/hw/net/vmxnet3.c
@@ -2391,6 +2391,8 @@ static int vmxnet3_post_load(void *opaque, int version_id)
}
}
+ vmxnet3_validate_interrupts(s);
+
return 0;
}