t;
> Thanks
>
> Chen
>
>
>
> From: Stefan Weil
> Sent: Friday, October 18, 2024 3:44 AM
> To: Zhang, Chen ; Li Zhijian ;
> Jason Wang ; qemu-stable ; QEMU
> Trivial
> Cc: qemu-devel@nongnu.org
> Subject: Re: [PATCH] Fix calculation of minimum in colo_compare_tcp
Subject: Re: [PATCH] Fix calculation of minimum in colo_compare_tcp
It looks like nobody has sent a pull request for this fix up to now. Is it
trivial enough for qemu-trivial? And maybe qemu-stable could also apply it to
older versions.
Stefan W.
Am 10.09.24 um 04:38 schrieb Zhang, Chen
10, 2024 4:43 AM
To: Zhang, Chen; Li Zhijian;
Jason Wang
Cc:qemu-devel@nongnu.org; Stefan Weil
Subject: [PATCH] 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
S
> -Original Message-
> From: Stefan Weil
> Sent: Tuesday, September 10, 2024 4:43 AM
> To: Zhang, Chen ; Li Zhijian ;
> Jason Wang
> Cc: qemu-devel@nongnu.org; Stefan Weil
> Subject: [PATCH] Fix calculation of minimum in colo_compare_tcp
>
> GitHub's
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
---
net/colo-compare.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/net/colo-compare.c b/net/colo-compare.c
ind