diff options
author | Peter Maydell | 2014-05-13 17:09:38 +0200 |
---|---|---|
committer | Peter Maydell | 2014-05-13 17:09:38 +0200 |
commit | 2e1198672759eda6e122ff38fcf6df06f27e0fe2 (patch) | |
tree | 813ce515fb6cd5709191324acffa3a43e740a4b6 /target-arm | |
parent | hw/net/stellaris_enet: Get rid of rx_fifo pointer (diff) | |
download | qemu-2e1198672759eda6e122ff38fcf6df06f27e0fe2.tar.gz qemu-2e1198672759eda6e122ff38fcf6df06f27e0fe2.tar.xz qemu-2e1198672759eda6e122ff38fcf6df06f27e0fe2.zip |
hw/net/stellaris_enet: Convert to vmstate
Convert this device to use vmstate for its save/load, including
providing a post_load function that sanitizes inbound data to
avoid possible buffer overflows if it is malicious.
The sanitizing fixes CVE-2013-4532 (though nobody should be
relying on the security properties of most of the unmaintained
ARM board models anyway, and migration doesn't actually
work on this board due to issues in other device models).
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'target-arm')
0 files changed, 0 insertions, 0 deletions