From 007a9fe6ddae86937b813d585226bff65bf21e3f Mon Sep 17 00:00:00 2001 From: jeanlf Date: Tue, 14 Dec 2021 11:34:46 +0100 Subject: [PATCH] [PATCH] fixed #1973 Gbp-Pq: Name CVE-2021-45297.patch --- src/utils/math.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils/math.c b/src/utils/math.c index 6ac222a..7ee997e 100644 --- a/src/utils/math.c +++ b/src/utils/math.c @@ -35,7 +35,8 @@ GF_EXPORT u32 gf_get_bit_size(u32 MaxVal) { u32 k=0; - while ((s32) MaxVal > ((1< (((u32)1<