projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01c05f3
)
[NTOS:EX] Fix a loop bug
author
Timo Kreuzer
<timo.kreuzer@reactos.org>
Fri, 8 Mar 2024 18:53:12 +0000
(20:53 +0200)
committer
Timo Kreuzer
<timo.kreuzer@reactos.org>
Tue, 19 Mar 2024 06:43:20 +0000
(07:43 +0100)
ntoskrnl/inbv/inbv.c
patch
|
blob
|
history
diff --git
a/ntoskrnl/inbv/inbv.c
b/ntoskrnl/inbv/inbv.c
index
9c51098
..
006f96a
100644
(file)
--- a/
ntoskrnl/inbv/inbv.c
+++ b/
ntoskrnl/inbv/inbv.c
@@
-109,8
+109,9
@@
FindBitmapResource(
/* Loop the driver list */
ListHead = &LoaderBlock->LoadOrderListHead;
- NextEntry = ListHead->Flink;
- while (NextEntry != ListHead)
+ for (NextEntry = ListHead->Flink;
+ NextEntry != ListHead;
+ NextEntry = NextEntry->Flink)
{
/* Get the entry */
LdrEntry = CONTAINING_RECORD(NextEntry,