]> xenbits.xensource.com Git - qemu-upstream-4.3-testing.git/commit
rtl8139: check IP Total Length field
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 15 Jul 2015 17:17:02 +0000 (18:17 +0100)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Mon, 3 Aug 2015 14:18:04 +0000 (14:18 +0000)
commit5b648eae0ca66d58303cdabfc0c14cbc3063e769
treee79b678f5b9ddb7082bcfd01c88388730ed422d0
parentaef0ca0ca311ed2d734c369ecc09c300bab11296
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>
hw/rtl8139.c