commit | 26fa3496e0c29fa50689bfd6729e5e4a653c41e0 | [log] [tgz] |
---|---|---|
author | Mike Hearn <mike@theoretic.com> | Sat Jun 07 00:33:53 2003 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Sat Jun 07 00:33:53 2003 +0000 |
tree | 74f46adb91bce886eac16cc0e817b56299d39d86 | |
parent | 6b9c474d3033089672c2345722913f4fec2c34e9 [diff] |
Protect WDML_GetConv against null handles.
diff --git a/dlls/user/dde/misc.c b/dlls/user/dde/misc.c index 6c262ac..51e24bf 100644 --- a/dlls/user/dde/misc.c +++ b/dlls/user/dde/misc.c
@@ -1902,6 +1902,7 @@ WDML_CONV* pConv = (WDML_CONV*)hConv; /* FIXME: should do better checking */ + if (pConv == NULL) return NULL; if (checkConnected && !(pConv->wStatus & ST_CONNECTED)) {