diff options
| author | P J P | 2015-09-04 18:21:06 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2015-09-15 13:51:02 +0200 |
| commit | b947ac2bf26479e710489739c465c8af336599e7 (patch) | |
| tree | d6e12697f63a0254541157ece4a6064059d9cb5d /include | |
| parent | qapi: Fix cgen() for Python older than 2.7 (diff) | |
| download | qemu-b947ac2bf26479e710489739c465c8af336599e7.tar.gz qemu-b947ac2bf26479e710489739c465c8af336599e7.tar.xz qemu-b947ac2bf26479e710489739c465c8af336599e7.zip | |
e1000: Avoid infinite loop in processing transmit descriptor (CVE-2015-6815)
While processing transmit descriptors, it could lead to an infinite
loop if 'bytes' was to become zero; Add a check to avoid it.
[The guest can force 'bytes' to 0 by setting the hdr_len and mss
descriptor fields to 0.
--Stefan]
Signed-off-by: P J P <pjp@fedoraproject.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 1441383666-6590-1-git-send-email-stefanha@redhat.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
