https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9cff384c222900d1f25c4beae9362c44da99a3d9

commit 9cff384c222900d1f25c4beae9362c44da99a3d9
Author:     James Tabor <[email protected]>
AuthorDate: Sat Nov 27 11:35:42 2021 -0600
Commit:     James Tabor <[email protected]>
CommitDate: Sat Nov 27 11:35:42 2021 -0600

    [User32] Add Back Break with Error Message
    
    Add back missing break. See CORE-17856.
---
 win32ss/user/user32/windows/class.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/win32ss/user/user32/windows/class.c 
b/win32ss/user/user32/windows/class.c
index 3602c2c1d72..376c91c3122 100644
--- a/win32ss/user/user32/windows/class.c
+++ b/win32ss/user/user32/windows/class.c
@@ -1134,6 +1134,8 @@ LONG_PTR IntGetWindowLong( HWND hwnd, INT offset, UINT 
size, BOOL unicode )
         {
             SetLastError(ERROR_ACCESS_DENIED);
             retvalue = 0;
+            ERR("Outside Access and Denied!\n");
+            break;
         }
         retvalue = (ULONG_PTR)IntGetWndProc(wndPtr, !unicode);
         break;

Reply via email to