On 24/8/22 10:52, Bin Meng wrote:
From: Bin Meng <bin.m...@windriver.com>
WaitForMultipleObjects() can only wait for MAXIMUM_WAIT_OBJECTS
object handles. Correct the event array size in aio_poll() and
add a assert() to ensure it does not cause out of bound access.
Signed-off-by: Bin Meng <bin.m...@windriver.com>
Reviewed-by: Stefan Weil <s...@weilnetz.de>
Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
(no changes since v2)
Changes in v2:
- change 'count' to unsigned
util/aio-win32.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>