Author: fireball
Date: Tue Dec 11 02:01:50 2007
New Revision: 31135
URL:
http://svn.reactos.org/svn/reactos?rev=31135&view=rev
Log:
Andrey Korotaev <unc0rr(a)gmail.com>om>:
- Fix possible infinite looping in kdbg (happening e.g. when moving mouse in a reactos in
qemu which entered the debugger).
Modified:
trunk/reactos/ntoskrnl/kdbg/kdb_cli.c
Modified: trunk/reactos/ntoskrnl/kdbg/kdb_cli.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/kdbg/kdb_cli.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/kdbg/kdb_cli.c (original)
+++ trunk/reactos/ntoskrnl/kdbg/kdb_cli.c Tue Dec 11 02:01:50 2007
@@ -1928,6 +1928,10 @@
while (!isalpha(p2[j++]));
strcpy(p2, p2 + j);
}
+ else
+ {
+ strcpy(p2, p2 + 1);
+ }
}
}