summary refs log tree commit diff stats
path: root/hw/net/virtio-net.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2024-09-09 22:42:54 +0200
committerJason Wang <jasowang@redhat.com>2024-10-29 15:53:23 +0800
commite29bc931e1699a98959680f6776b48673825762b (patch)
treedc8b7454c9f8183ce922a3f43286a181cf8c02a0 /hw/net/virtio-net.c
parent76240dd2a37c7b361740616a7d6080beafdb8a71 (diff)
downloadfocaccia-qemu-e29bc931e1699a98959680f6776b48673825762b.tar.gz
focaccia-qemu-e29bc931e1699a98959680f6776b48673825762b.zip
Fix calculation of minimum in colo_compare_tcp
GitHub's CodeQL reports a critical error which is fixed by using the MIN macro:

    Unsigned difference expression compared to zero

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Cc: qemu-stable@nongnu.org
Reviewed-by: Zhang Chen <chen.zhang@intel.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions