summaryrefslogtreecommitdiffstats
path: root/hw/net/stellaris_enet.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-05-13 12:33:16 +0300
committerJuan Quintela <quintela@trasno.org>2014-05-14 15:24:52 +0200
commit719ffe1f5f72b1c7ace4afe9ba2815bcb53a829e (patch)
treef3a928ff50a684a2d630338c454b4627d5e13b36 /hw/net/stellaris_enet.c
parentd6ed7312d11995409bd53ef8f1a743d8877880d2 (diff)
downloadhqemu-719ffe1f5f72b1c7ace4afe9ba2815bcb53a829e.zip
hqemu-719ffe1f5f72b1c7ace4afe9ba2815bcb53a829e.tar.gz
usb: fix up post load checks
Correct post load checks: 1. dev->setup_len == sizeof(dev->data_buf) seems fine, no need to fail migration 2. When state is DATA, passing index > len will cause memcpy with negative length, resulting in heap overflow First of the issues was reported by dgilbert. Reported-by: "Dr. David Alan Gilbert" <dgilbert@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'hw/net/stellaris_enet.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud