projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b9689a
)
[OLE32]
author
Thomas Faber
<thomas.faber@reactos.org>
Thu, 8 Sep 2016 11:01:43 +0000
(11:01 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Thu, 8 Sep 2016 11:01:43 +0000
(11:01 +0000)
- Gracefully handle NULL clipbrd in clipbrd_wndproc. This is probably not the right fix, but avoids crashing for now.
CORE-11905
svn path=/trunk/; revision=72622
reactos/dll/win32/ole32/clipboard.c
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/ole32/clipboard.c
b/reactos/dll/win32/ole32/clipboard.c
index
bbb6f54
..
77a2dfa
100644
(file)
--- a/
reactos/dll/win32/ole32/clipboard.c
+++ b/
reactos/dll/win32/ole32/clipboard.c
@@
-2001,6
+2001,10
@@
static LRESULT CALLBACK clipbrd_wndproc(HWND hwnd, UINT message, WPARAM wparam,
ole_clipbrd *clipbrd;
get_ole_clipbrd(&clipbrd);
+#ifdef __REACTOS__
+ if(clipbrd == NULL)
+ return DefWindowProcW(hwnd, message, wparam, lparam);
+#endif
switch (message)
{