-
由 Steven Luo 提交于
Samuel Thibault pointed out that it's possible that slirp_pollfds_poll() will try to use a socket even after soread() returns an error, resulting in an use-after-free if the socket was removed while handling the error. Avoid this by refusing to continue to work with the socket in this case. Signed-off-by: NSteven Luo <steven+qemu@steven676.net> Signed-off-by: NSamuel Thibault <samuel.thibault@ens-lyon.org>
bfb1ac14