[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] slirp: check for ioctlsocket error and 0-len
|
From: |
Samuel Thibault |
|
Subject: |
Re: [Qemu-devel] [PATCH v2] slirp: check for ioctlsocket error and 0-length udp payload. |
|
Date: |
Fri, 1 Mar 2019 17:38:10 -0800 |
|
User-agent: |
NeoMutt/20170113 (1.7.2) |
Vic Lee, le ven. 01 mars 2019 14:48:09 +0800, a ecrit:
> 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 <address@hidden>
Applied to my tree, thanks!
Samuel