diff options
| author | Stefan Weil <sw@weilnetz.de> | 2024-09-10 07:41:38 +0200 |
|---|---|---|
| committer | Peter Xu <peterx@redhat.com> | 2024-09-18 14:27:24 -0400 |
| commit | cb0ed522a51a7d4b1fde535972d4aeeb82447928 (patch) | |
| tree | 3726927103ab1fa3f1fc3618c511eed70ed97f1c /tests/functional/qemu_test/linuxkernel.py | |
| parent | 561ce0149373ecab7fa123cb64ffd50155c06e10 (diff) | |
| download | focaccia-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