Steven Luo bfb1ac1402 slirp: avoid use-after-free in slirp_pollfds_poll() if soread() returns an error
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: Steven Luo <steven+qemu@steven676.net>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
2016-04-07 10:27:42 +02:00
..
2016-02-04 17:41:30 +00:00
2016-02-04 17:41:30 +00:00
2012-12-19 08:31:31 +01:00
2016-02-04 17:41:30 +00:00
2016-04-01 17:51:55 +02:00
2016-03-15 10:35:04 +01:00
2016-03-15 10:35:22 +01:00
2016-03-15 10:35:02 +01:00
2016-03-15 10:35:02 +01:00
2016-04-01 17:51:55 +02:00
2016-02-04 17:41:30 +00:00
2016-04-01 17:51:55 +02:00
2013-02-21 16:17:31 -06:00
2016-03-15 10:35:08 +01:00
2016-02-04 17:41:30 +00:00
2009-07-01 19:11:17 +00:00
2016-04-01 17:51:55 +02:00
2016-03-15 10:35:19 +01:00
2016-03-15 10:35:19 +01:00
2016-03-15 17:05:34 +01:00
2016-03-15 10:35:08 +01:00