diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-02-21 16:47:54 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-03-13 15:23:37 +0400 |
commit | e2a3a2193ef2d252a1b3553e90895189a248bd22 (patch) | |
tree | 5d7fd694341bb14fbf331a7e10f14866a794abc6 /util/aio-wait.c | |
parent | 6eeef4477a8588f44a15458ab560c68d373d1033 (diff) | |
download | qemu-e2a3a2193ef2d252a1b3553e90895189a248bd22.zip qemu-e2a3a2193ef2d252a1b3553e90895189a248bd22.tar.gz qemu-e2a3a2193ef2d252a1b3553e90895189a248bd22.tar.bz2 |
aio/win32: aio_set_fd_handler() only supports SOCKET
Let's check if the argument is actually a SOCKET, else report an error
and return.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Message-Id: <20230221124802.4103554-10-marcandre.lureau@redhat.com>
Diffstat (limited to 'util/aio-wait.c')
0 files changed, 0 insertions, 0 deletions