projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d68f0cb
)
- Don't loop indefintely in RtlFindUnicodePrefix if the splaylinks have changed insid...
author
Alex Ionescu
<aionescu@gmail.com>
Tue, 8 Nov 2005 17:14:19 +0000
(17:14 +0000)
committer
Alex Ionescu
<aionescu@gmail.com>
Tue, 8 Nov 2005 17:14:19 +0000
(17:14 +0000)
svn path=/trunk/; revision=19058
reactos/lib/rtl/unicodeprefix.c
patch
|
blob
|
history
diff --git
a/reactos/lib/rtl/unicodeprefix.c
b/reactos/lib/rtl/unicodeprefix.c
index
f8851ae
..
bed8483
100644
(file)
--- a/
reactos/lib/rtl/unicodeprefix.c
+++ b/
reactos/lib/rtl/unicodeprefix.c
@@
-10,7
+10,7
@@
#include <rtl.h>
-#define NDEBUG
+
//
#define NDEBUG
#include <debug.h>
/*
@@
-179,7
+179,8
@@
RtlFindUnicodePrefix(PUNICODE_PREFIX_TABLE PrefixTable,
DPRINT("CurrentEntry->NameLength %lx\n", CurrentEntry->NameLength);
/* Get the splay links and loop */
- while ((SplayLinks = &CurrentEntry->Links))
+ SplayLinks = &CurrentEntry->Links;
+ while (SplayLinks)
{
/* Get the entry */
DPRINT("SplayLinks %p\n", SplayLinks);