On Fri, Sep 04, 2015 at 05:21:06PM +0100, Stefan Hajnoczi wrote: > From: P J P <p...@fedoraproject.org> > > 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 <p...@fedoraproject.org> > Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com> > --- > 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