From 769ec79f16358778ae193658b664786f155e0675 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Tue, 15 Oct 2013 22:14:48 +0000 Subject: [PATCH] [Win32ss] - Prevent a potential kernel exception. svn path=/trunk/; revision=60682 --- reactos/win32ss/user/user32/windows/prop.c | 1 + 1 file changed, 1 insertion(+) diff --git a/reactos/win32ss/user/user32/windows/prop.c b/reactos/win32ss/user/user32/windows/prop.c index 8f9b1b8c2c4..1b06d7f58bb 100644 --- a/reactos/win32ss/user/user32/windows/prop.c +++ b/reactos/win32ss/user/user32/windows/prop.c @@ -53,6 +53,7 @@ IntGetProp(HWND hWnd, ATOM Atom) for (i = 0; i < pWnd->PropListItems; i++ ) { Property = CONTAINING_RECORD(ListEntry, PROPERTY, PropListEntry); + if (!Property) break; if (Property->Atom == Atom) { return(Property);