]> xenbits.xensource.com Git - qemu-upstream-4.4-testing.git/commit
rtl8139: check TCP Data Offset field
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 15 Jul 2015 17:17:04 +0000 (18:17 +0100)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Mon, 3 Aug 2015 14:12:15 +0000 (14:12 +0000)
commitdfaedc85570ebdbbeee7d71b3191cf60601740bd
treecaf9294197ab116026ee3203012b4513c142e35b
parent209ea71214e4bc42efea4bfd5a963520830f2e4c
rtl8139: check TCP Data Offset field

The TCP Data Offset field contains the length of the header.  Make sure
it is valid and does not exceed the IP data length.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
hw/net/rtl8139.c