[Win32ss]
authorJames Tabor <james.tabor@reactos.org>
Tue, 15 Oct 2013 22:16:31 +0000 (22:16 +0000)
committerJames 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

index 5ffc7b7..9b03ba4 100644 (file)
@@ -21,6 +21,7 @@ IntGetProp(PWND Window, ATOM Atom)
    while (ListEntry != &Window->PropListHead)
    {
       Property = CONTAINING_RECORD(ListEntry, PROPERTY, PropListEntry);
+      if (!Property) break;
       if (Property->Atom == Atom)
       {
          return(Property);