Application crashes (something to do with OLE 16/32 split)
Mike Hearn
mike at theoretic.com
Sun May 25 18:44:19 CDT 2003
> What does make you think that a crash is DDE related? Any chance for
> a trace?
sorry, how thoughtless of me, it was a simple unprotected function. This
patch fixes it.
ChangeLog:
Protect WDML_GetConv against null handles
Index: dlls/user/dde/misc.c
===================================================================
RCS file: /home/wine/wine/dlls/user/dde/misc.c,v
retrieving revision 1.18
diff -u -r1.18 misc.c
--- dlls/user/dde/misc.c 19 May 2003 23:27:16 -0000 1.18
+++ dlls/user/dde/misc.c 25 May 2003 23:42:37 -0000
@@ -1902,7 +1902,8 @@
WDML_CONV* pConv = (WDML_CONV*)hConv;
/* FIXME: should do better checking */
-
+ if (pConv == NULL) return NULL;
+
if (checkConnected && !(pConv->wStatus & ST_CONNECTED))
{
FIXME("found conv but ain't connected\n");
More information about the wine-patches
mailing list