https://git.reactos.org/?p=reactos.git;a=commitdiff;h=641c89d834c95221ad58b…
commit 641c89d834c95221ad58be92f811877a9c1c4eae
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sun Apr 2 02:25:28 2023 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Wed Apr 5 03:33:38 2023 +0200
[KDVBOX] Fix port name comparison.
---
drivers/base/kdvm/kdvm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/base/kdvm/kdvm.c b/drivers/base/kdvm/kdvm.c
index 39e77313a82..f9838878b9c 100644
--- a/drivers/base/kdvm/kdvm.c
+++ b/drivers/base/kdvm/kdvm.c
@@ -305,7 +305,7 @@ KdDebuggerInitialize0(
PortString++;
/* Do we have a serial port? */
- if (strncmp(PortString, "VBOX", 3) != 0)
+ if (strncmp(PortString, "VBOX", 4) != 0)
{
KDDBGPRINT("Invalid debugport: '%s'\n", CommandLine);
return STATUS_INVALID_PARAMETER;