projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
769ec79
)
[Win32ss]
author
James Tabor
<james.tabor@reactos.org>
Tue, 15 Oct 2013 22:16:31 +0000
(22:16 +0000)
committer
James Tabor
<james.tabor@reactos.org>
Tue, 15 Oct 2013 22:16:31 +0000
(22:16 +0000)
- Prevent a potential kernel exception.
svn path=/trunk/; revision=60683
reactos/win32ss/user/ntuser/prop.c
patch
|
blob
|
history
diff --git
a/reactos/win32ss/user/ntuser/prop.c
b/reactos/win32ss/user/ntuser/prop.c
index
5ffc7b7
..
9b03ba4
100644
(file)
--- a/
reactos/win32ss/user/ntuser/prop.c
+++ b/
reactos/win32ss/user/ntuser/prop.c
@@
-21,6
+21,7
@@
IntGetProp(PWND Window, ATOM Atom)
while (ListEntry != &Window->PropListHead)
{
Property = CONTAINING_RECORD(ListEntry, PROPERTY, PropListEntry);
while (ListEntry != &Window->PropListHead)
{
Property = CONTAINING_RECORD(ListEntry, PROPERTY, PropListEntry);
+ if (!Property) break;
if (Property->Atom == Atom)
{
return(Property);
if (Property->Atom == Atom)
{
return(Property);