mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:22:58 +00:00
Harden 'proc list'
svn path=/trunk/; revision=35284
This commit is contained in:
parent
6cf2b6c90d
commit
2afb238075
1 changed files with 1 additions and 1 deletions
|
@ -1266,7 +1266,7 @@ KdbpCmdProc(ULONG Argc, PCHAR Argv[])
|
||||||
if (Argc >= 2 && _stricmp(Argv[1], "list") == 0)
|
if (Argc >= 2 && _stricmp(Argv[1], "list") == 0)
|
||||||
{
|
{
|
||||||
Entry = PsActiveProcessHead.Flink;
|
Entry = PsActiveProcessHead.Flink;
|
||||||
if (Entry == &PsActiveProcessHead)
|
if (!Entry || Entry == &PsActiveProcessHead)
|
||||||
{
|
{
|
||||||
KdbpPrint("No processes in the system!\n");
|
KdbpPrint("No processes in the system!\n");
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue