summary refs log tree commit diff stats
path: root/tests/functional/qemu_test/linuxkernel.py
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2024-09-10 07:41:38 +0200
committerPeter Xu <peterx@redhat.com>2024-09-18 14:27:24 -0400
commitcb0ed522a51a7d4b1fde535972d4aeeb82447928 (patch)
tree3726927103ab1fa3f1fc3618c511eed70ed97f1c /tests/functional/qemu_test/linuxkernel.py
parent561ce0149373ecab7fa123cb64ffd50155c06e10 (diff)
downloadfocaccia-qemu-cb0ed522a51a7d4b1fde535972d4aeeb82447928.tar.gz
focaccia-qemu-cb0ed522a51a7d4b1fde535972d4aeeb82447928.zip
migration/multifd: Fix loop conditions in multifd_zstd_send_prepare and multifd_zstd_recv
GitHub's CodeQL reports four critical errors which are fixed by this commit:

    Unsigned difference expression compared to zero

An expression (u - v > 0) with unsigned values u, v is only false if u == v,
so all changed expressions did not work as expected.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Link: https://lore.kernel.org/r/20240910054138.1458555-1-sw@weilnetz.de
[peterx: Fix mangled email for author]
Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'tests/functional/qemu_test/linuxkernel.py')
0 files changed, 0 insertions, 0 deletions