Re: [Qemu-devel] [PATCH] vhost-user-bridge: fix recvmsg iovlen

2018-11-21 Thread Paolo Bonzini
On 15/11/18 12:45, Marc-André Lureau wrote: > On Fri, Nov 9, 2018 at 9:39 PM Marc-André Lureau > wrote: >> >> After iov_discard_front(), the iov may be smaller than its initial >> size. Fixes the heap-buffer-overflow spotted by ASAN: >> >> ==9036==ERROR: AddressSanitizer: heap-buffer-overflow on a

Re: [Qemu-devel] [PATCH] vhost-user-bridge: fix recvmsg iovlen

2018-11-15 Thread Marc-André Lureau
On Fri, Nov 9, 2018 at 9:39 PM Marc-André Lureau wrote: > > After iov_discard_front(), the iov may be smaller than its initial > size. Fixes the heap-buffer-overflow spotted by ASAN: > > ==9036==ERROR: AddressSanitizer: heap-buffer-overflow on address > 0x606001e0 at pc 0x7fe632eca3f0 bp 0x7f

[Qemu-devel] [PATCH] vhost-user-bridge: fix recvmsg iovlen

2018-11-09 Thread Marc-André Lureau
After iov_discard_front(), the iov may be smaller than its initial size. Fixes the heap-buffer-overflow spotted by ASAN: ==9036==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x606001e0 at pc 0x7fe632eca3f0 bp 0x7ffddc4a05a0 sp 0x7ffddc49fd48 WRITE of size 32 at 0x606001e0 thre