Re: [Qemu-devel] [PATCH v3] slirp: check for ioctlsocket error and 0-length udp payload.

2019-03-07 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190301084814.11076-1-llyzs@gmail.com/ Hi, This series failed the docker-mingw@fedora build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally. === TEST SCRIPT BEGIN ===

[Qemu-devel] [PATCH v3] slirp: check for ioctlsocket error and 0-length udp payload.

2019-03-01 Thread Vic Lee
Sometimes sorecvfrom() is called from slirp.c because revents == G_IO_IN, but there is 0 bytes available and recvfrom could be blocking indefinitely. This is likely due to 0-length udp payload. This also adds an error checking for ioctlsocket. Signed-off-by: Vic Lee --- slirp/socket.c | 10 +