projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
865a118
)
[NTOS:EX]
author
Dmitry Chapyshev
<dmitry@reactos.org>
Sat, 3 Sep 2016 18:52:22 +0000
(18:52 +0000)
committer
Dmitry Chapyshev
<dmitry@reactos.org>
Sat, 3 Sep 2016 18:52:22 +0000
(18:52 +0000)
- Reset of count of handles prior to enumeration
See issue 11928 for more details.
svn path=/trunk/; revision=72551
reactos/ntoskrnl/ex/sysinfo.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/ex/sysinfo.c
b/reactos/ntoskrnl/ex/sysinfo.c
index
de8af0f
..
54e9e26
100644
(file)
--- a/
reactos/ntoskrnl/ex/sysinfo.c
+++ b/
reactos/ntoskrnl/ex/sysinfo.c
@@
-1203,6
+1203,9
@@
QSI_DEF(SystemHandleInformation)
{
PLIST_ENTRY NextTableEntry;
+ /* Reset of count of handles */
+ HandleInformation->NumberOfHandles = 0;
+
/* Enumerate all system handles */
for (NextTableEntry = HandleTableListHead.Flink;
NextTableEntry != &HandleTableListHead;