From 512ac8d32c566c83af01e3ee8c3eec300409f6e1 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Tue, 15 Oct 2013 22:16:31 +0000 Subject: [PATCH] [Win32ss] - Prevent a potential kernel exception. svn path=/trunk/; revision=60683 --- reactos/win32ss/user/ntuser/prop.c | 1 + 1 file changed, 1 insertion(+) diff --git a/reactos/win32ss/user/ntuser/prop.c b/reactos/win32ss/user/ntuser/prop.c index 5ffc7b74ec5..9b03ba45448 100644 --- 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); + if (!Property) break; if (Property->Atom == Atom) { return(Property); -- 2.17.1