]> xenbits.xensource.com Git - qemu-xen-traditional.git/commit
rtl8139: check IP Total Length field
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 15 Jul 2015 17:17:02 +0000 (18:17 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 10 May 2016 18:11:50 +0000 (19:11 +0100)
commit7b42ec15206ce1038fde15398d79e3dba516cd98
tree673d2fc7832cd34ae39fd643540f68e2a6ad8190
parent365c8ab4bb5c89bdbac26878b62418c24deafbe1
rtl8139: check IP Total Length field

The IP Total Length field includes the IP header and data.  Make sure it
is valid and does not exceed the Ethernet payload size.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
[Backport to qemu-xen-tradition]
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
hw/rtl8139.c