[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-stable] [Qemu-devel] [PATCH] e1000: Avoid infinite loop in pro
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-stable] [Qemu-devel] [PATCH] e1000: Avoid infinite loop in processing transmit descriptor |
Date: |
Wed, 9 Sep 2015 10:10:10 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Fri, Sep 04, 2015 at 05:21:06PM +0100, Stefan Hajnoczi wrote:
> From: P J P <address@hidden>
>
> 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 <address@hidden>
> Signed-off-by: Stefan Hajnoczi <address@hidden>
> ---
> hw/net/e1000.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Thanks, applied to my net tree:
https://github.com/stefanha/qemu/commits/net
Stefan