aboutsummaryrefslogtreecommitdiff
path: root/hw/smbios.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2010-06-22 16:22:49 +0300
committerMichael S. Tsirkin <mst@redhat.com>2010-07-11 23:31:52 +0300
commit279a42535dc977c495bdbda8c8831016e05a0a5d (patch)
tree56e5d698398028e804cc20c6263c679f197ba225 /hw/smbios.c
parenta213ff63ead450c3bf3b47497681a1498570fcdd (diff)
downloadqemu-279a42535dc977c495bdbda8c8831016e05a0a5d.zip
qemu-279a42535dc977c495bdbda8c8831016e05a0a5d.tar.gz
qemu-279a42535dc977c495bdbda8c8831016e05a0a5d.tar.bz2
virtio-net: correct packet length math
We were requesting too much when checking buffer length: size already includes host header length. Further, we should not exit if we get a packet that is too long, since this might not be under control of the guest. Just drop the packet. Red Hat bz 591494 Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/smbios.c')
0 files changed, 0 insertions, 0 deletions