From a767104b96800161edd6edf5a3038907975d5d53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Sun, 21 Jan 2024 17:51:18 +0800 Subject: [PATCH] TerminalShell (Windows): more variable initialization fixes --- src/detection/terminalshell/terminalshell_windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detection/terminalshell/terminalshell_windows.c b/src/detection/terminalshell/terminalshell_windows.c index 2ea0f0c74..b6cf8a9a4 100644 --- a/src/detection/terminalshell/terminalshell_windows.c +++ b/src/detection/terminalshell/terminalshell_windows.c @@ -291,7 +291,7 @@ conhost: static uint32_t getTerminalInfo(FFTerminalResult* result, uint32_t pid) { - uint32_t ppid; + uint32_t ppid = 0; bool hasGui; while (pid != 0 && getProcessInfo(pid, &ppid, &result->processName, &result->exe, &result->exeName, &result->exePath, &hasGui))