]> git.proxmox.com Git - mirror_qemu.git/commit - hw/net/rtl8139.c
rtl8139: check IP Header Length field (CVE-2015-5165)
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 15 Jul 2015 16:32:32 +0000 (17:32 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 3 Aug 2015 12:08:03 +0000 (13:08 +0100)
commit03247d43c577dfea8181cd40177ad5ba77c8db76
treec08d1602d78e87a7fb994c32874171f3996bcf9a
parente1c120a9c54872f8a538ff9129d928de4e865cbd
rtl8139: check IP Header Length field (CVE-2015-5165)

The IP Header Length field was only checked in the IP checksum case, but
is used in other cases too.

Reported-by: 朱东海(启路) <donghai.zdh@alibaba-inc.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/net/rtl8139.c