25 lines
984 B
Diff
25 lines
984 B
Diff
From b1689ab1e8e79f7e8125adb2c8f8614d90eb3209 Mon Sep 17 00:00:00 2001
|
|
From: yieux <yangxy79315@sina.com>
|
|
Date: Tue, 28 Nov 2023 10:49:35 +0800
|
|
Subject: fix bug of mc case not collect data
|
|
|
|
---
|
|
.../cases/memory_corruption/secDetector_memory_corruption.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/kerneldriver/cases/memory_corruption/secDetector_memory_corruption.c b/kerneldriver/cases/memory_corruption/secDetector_memory_corruption.c
|
|
index 5b487ac..c9e9868 100644
|
|
--- a/kerneldriver/cases/memory_corruption/secDetector_memory_corruption.c
|
|
+++ b/kerneldriver/cases/memory_corruption/secDetector_memory_corruption.c
|
|
@@ -43,6 +43,7 @@ static struct secDetector_workflow workflow_array[] = {
|
|
.workflow_type = WORKFLOW_PRESET,
|
|
.hook_type = SECDETECTOR_TIMER,
|
|
.collect_array = collect_array,
|
|
+ .collect_array_len = ARRAY_SIZE(collect_array),
|
|
.analyze_type = ANALYZE_PRESET_SAVE_CHECK,
|
|
.interval = TIME_INTERVAL,
|
|
.enabled = ATOMIC_INIT(true)
|
|
--
|
|
2.33.0
|
|
|