[KDVBOX] Fix port name comparison.

This commit is contained in:
Hermès Bélusca-Maïto 2023-04-02 02:25:28 +02:00
parent 2b27d08576
commit 641c89d834
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -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;