From cc1ae7ee164e3da3b10e2e844d7beecbb55ad46c Mon Sep 17 00:00:00 2001 From: wanghao-free Date: Wed, 14 Dec 2022 00:48:55 -0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E8=A7=A3=E5=86=B3release3.1?= =?UTF-8?q?=E5=88=86=E6=94=AFCVE=E6=BC=8F=E6=B4=9E=20CVE:=20CVE-2022-44638?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wanghao-free --- pixman/pixman-trap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixman/pixman-trap.c b/pixman/pixman-trap.c index 91766fd..7560405 100644 --- a/pixman/pixman-trap.c +++ b/pixman/pixman-trap.c @@ -74,7 +74,7 @@ pixman_sample_floor_y (pixman_fixed_t y, if (f < Y_FRAC_FIRST (n)) { - if (pixman_fixed_to_int (i) == 0x8000) + if (pixman_fixed_to_int (i) == 0xffff8000) { f = 0; /* saturate */ } -- Gitee