Commit 26fa3496 authored by Mike Hearn's avatar Mike Hearn Committed by Alexandre Julliard

Protect WDML_GetConv against null handles.

parent 6b9c474d
......@@ -1902,6 +1902,7 @@ WDML_CONV* WDML_GetConv(HCONV hConv, BOOL checkConnected)
WDML_CONV* pConv = (WDML_CONV*)hConv;
/* FIXME: should do better checking */
if (pConv == NULL) return NULL;
if (checkConnected && !(pConv->wStatus & ST_CONNECTED))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment