Author: tfaber
Date: Thu Sep 8 11:01:43 2016
New Revision: 72622
URL:
http://svn.reactos.org/svn/reactos?rev=72622&view=rev
Log:
[OLE32]
- Gracefully handle NULL clipbrd in clipbrd_wndproc. This is probably not the right fix,
but avoids crashing for now.
CORE-11905
Modified:
trunk/reactos/dll/win32/ole32/clipboard.c
Modified: trunk/reactos/dll/win32/ole32/clipboard.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ole32/clipboard.…
==============================================================================
--- trunk/reactos/dll/win32/ole32/clipboard.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/ole32/clipboard.c [iso-8859-1] Thu Sep 8 11:01:43 2016
@@ -2001,6 +2001,10 @@
ole_clipbrd *clipbrd;
get_ole_clipbrd(&clipbrd);
+#ifdef __REACTOS__
+ if(clipbrd == NULL)
+ return DefWindowProcW(hwnd, message, wparam, lparam);
+#endif
switch (message)
{