We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3c3f38 commit ba45073Copy full SHA for ba45073
src/detection/terminalshell/terminalshell_windows.c
@@ -369,7 +369,6 @@ const FFShellResult* ffDetectShell(void)
369
ffStrbufInit(&result.exePath);
370
ffStrbufInit(&result.prettyName);
371
ffStrbufInit(&result.version);
372
- ffStrbufInit(&result.tty);
373
result.pid = 0;
374
result.ppid = 0;
375
result.tty = -1;
@@ -407,6 +406,7 @@ const FFTerminalResult* ffDetectTerminal(void)
407
406
408
409
+ ffStrbufInit(&result.tty);
410
411
412
0 commit comments