Author: jimtabor
Date: Tue Oct 15 22:14:48 2013
New Revision: 60682
URL:
http://svn.reactos.org/svn/reactos?rev=60682&view=rev
Log:
[Win32ss]
- Prevent a potential kernel exception.
Modified:
trunk/reactos/win32ss/user/user32/windows/prop.c
Modified: trunk/reactos/win32ss/user/user32/windows/prop.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/window…
==============================================================================
--- trunk/reactos/win32ss/user/user32/windows/prop.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/windows/prop.c [iso-8859-1] Tue Oct 15 22:14:48
2013
@@ -53,6 +53,7 @@
for (i = 0; i < pWnd->PropListItems; i++ )
{
Property = CONTAINING_RECORD(ListEntry, PROPERTY, PropListEntry);
+ if (!Property) break;
if (Property->Atom == Atom)
{
return(Property);