From f6e67737175bcb3ba52a61053b2f054baf626994 Mon Sep 17 00:00:00 2001 From: swx1094762 Date: Wed, 19 Apr 2023 10:34:29 +0800 Subject: [PATCH] Description:CVE-2023-2004 issuesno:I6VUAP Sig:SIG_ApplicationFramework Feature or Bugfix:Feature Binary Source:NO Signed-off-by: swx1094762 --- src/truetype/ttgxvar.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/truetype/ttgxvar.c b/src/truetype/ttgxvar.c index b462263..082bcc0 100644 --- a/src/truetype/ttgxvar.c +++ b/src/truetype/ttgxvar.c @@ -42,6 +42,7 @@ #include #include #include FT_CONFIG_CONFIG_H +#include #include #include #include @@ -1065,7 +1066,7 @@ delta == 1 ? "" : "s", vertical ? "VVAR" : "HVAR" )); - *avalue += delta; + *avalue = ADD_INT( *avalue, delta ); Exit: return error; -- Gitee