commit | d4f471eb7e562c2cc398448a1c1e7ee838ec30bd | [log] [tgz] |
---|---|---|
author | Dmitry Frolov <frolov@swemel.ru> | Thu Jun 13 17:35:30 2024 +0300 |
committer | Michael S. Tsirkin <mst@redhat.com> | Mon Jul 01 17:16:05 2024 -0400 |
tree | 3cbfe19e9ad14ed376139d13f33217b551dc22d2 | |
parent | 7c211eb078c42146ee9a441cc028fbc4c378ef5a [diff] |
hw/net/virtio-net.c: fix crash in iov_copy() A crash found while fuzzing device virtio-net-socket-check-used. Assertion "offset == 0" in iov_copy() fails if less than guest_hdr_len bytes were transmited. Signed-off-by: Dmitry Frolov <frolov@swemel.ru> Message-Id: <20240613143529.602591-2-frolov@swemel.ru> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>