summary refs log tree commit diff stats
path: root/hw/net/cadence_gem.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-05-13 16:09:38 +0100
committerPeter Maydell <peter.maydell@linaro.org>2014-05-13 16:09:38 +0100
commit2e1198672759eda6e122ff38fcf6df06f27e0fe2 (patch)
tree813ce515fb6cd5709191324acffa3a43e740a4b6 /hw/net/cadence_gem.c
parent889ac2a32fd803f7222524d8f56aded1c3cbad3c (diff)
downloadfocaccia-qemu-2e1198672759eda6e122ff38fcf6df06f27e0fe2.tar.gz
focaccia-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 'hw/net/cadence_gem.c')
0 files changed, 0 insertions, 0 deletions