Commit 8348c9fa authored by Kai Blin's avatar Kai Blin Committed by Alexandre Julliard

dplayx: Fix possible NULL pointer dereference (Coverity).

parent 8f07e99e
......@@ -3032,7 +3032,7 @@ static HRESULT WINAPI DP_IF_Receive
}
/* Copy into the provided buffer */
CopyMemory( lpData, lpMsg->msg, *lpdwDataSize );
if (lpData) CopyMemory( lpData, lpMsg->msg, *lpdwDataSize );
return DP_OK;
}
......
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