From 3ea457e9db88b01b958699f85403246c5f3b4aab Mon Sep 17 00:00:00 2001 From: jingyu123412 <1565704822@qq.com> Date: Sat, 4 Mar 2023 11:16:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4OpenHarmony-SA-2022-0901?= =?UTF-8?q?=E5=8A=A8=E6=80=81=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: jingyu123412 <1565704822@qq.com> --- .../poc_patch_scan/2022-09/OpenHarmony-SA-2022-0901/poc.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/demo/sectest/poc_patch_scan/2022-09/OpenHarmony-SA-2022-0901/poc.cpp b/demo/sectest/poc_patch_scan/2022-09/OpenHarmony-SA-2022-0901/poc.cpp index 4914613b3..8b7bc2bdf 100644 --- a/demo/sectest/poc_patch_scan/2022-09/OpenHarmony-SA-2022-0901/poc.cpp +++ b/demo/sectest/poc_patch_scan/2022-09/OpenHarmony-SA-2022-0901/poc.cpp @@ -15,8 +15,6 @@ */ #include #include -//#include -#include #include /* The cJSON structure: */ @@ -64,7 +62,7 @@ int main() } // 返回值不为null,没有修复漏洞,应该收到signal 11段错误提示 printf("OpenHarmony-SA-2022-0901 : vulnerable\n"); - //cJSON_Delete(root); + printf("But the vulnerability trigger failed\n"); return 0; } -- GitLab