Re: [Qemu-devel] [PATCH v2 0/2] Avoid sending zero-size packets

2019-11-06 Thread Stefan Hajnoczi
On Mon, Jul 22, 2019 at 01:24:44PM +, Oleinik, Alexander wrote: > While fuzzing the virtio-net tx vq, I ran into an assertion failure due > to iov_copy offsets larger than the total iov size. Though there is > a check to cover this, it does not execute when !n->has_vnet_hdr. This > patch tries

Re: [Qemu-devel] [PATCH v2 0/2] Avoid sending zero-size packets

2019-07-23 Thread Stefan Hajnoczi
On Mon, Jul 22, 2019 at 01:24:44PM +, Oleinik, Alexander wrote: > While fuzzing the virtio-net tx vq, I ran into an assertion failure due > to iov_copy offsets larger than the total iov size. Though there is > a check to cover this, it does not execute when !n->has_vnet_hdr. This > patch tries

[Qemu-devel] [PATCH v2 0/2] Avoid sending zero-size packets

2019-07-22 Thread Oleinik, Alexander
While fuzzing the virtio-net tx vq, I ran into an assertion failure due to iov_copy offsets larger than the total iov size. Though there is a check to cover this, it does not execute when !n->has_vnet_hdr. This patch tries to fix this. The call stack for the assertion failure: #8 in __assert_fail