summary refs log tree commit diff stats
path: root/python/tests/protocol.py
diff options
context:
space:
mode:
authorWilliam Hu <purplearmadillo77@proton.me>2025-04-03 01:07:56 +0000
committerMarc-André Lureau <marcandre.lureau@redhat.com>2025-08-07 14:08:06 +0400
commitc7ac771ee750e37808928b62388fd27dcbf00f46 (patch)
tree50e588d03aa652f41b089e086ca27602ea0ed0e5 /python/tests/protocol.py
parente0006a86615baa70bc9d8b183e528aed91c1ac90 (diff)
downloadfocaccia-qemu-c7ac771ee750e37808928b62388fd27dcbf00f46.tar.gz
focaccia-qemu-c7ac771ee750e37808928b62388fd27dcbf00f46.zip
ui/curses: Fix infinite loop on windows
Replace -1 comparisons for wint_t with WEOF to fix infinite loop caused by a
65535 == -1 comparison.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2905
Signed-off-by: William Hu <purplearmadillo77@proton.me>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
[ Marc-André - Add missing similar code change, remove a comment ]
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-ID: <tSO5to8--iex6QMThG3Z8ElfnNOUahK_yitw2G2tEVRPoMKV936CBdrpyfbeNpVEpziKqeQ1ShBwPOoDkofgApM8YWwnPKJR_JrPDThV8Bc=@proton.me>
Diffstat (limited to 'python/tests/protocol.py')
0 files changed, 0 insertions, 0 deletions