Fixed missing NULL check.
This commit is contained in:
parent
4ff24d074b
commit
d69ad3ee59
@ -1447,7 +1447,7 @@ static UINT xf_cliprdr_server_format_data_response(CliprdrClientContext*
|
||||
ClipboardGetFormatName(clipboard->system, srcFormatId));
|
||||
}
|
||||
|
||||
if (nullTerminated)
|
||||
if (nullTerminated && pDstData)
|
||||
{
|
||||
BYTE* nullTerminator = memchr(pDstData, '\0', DstSize);
|
||||
if (nullTerminator)
|
||||
|
Loading…
x
Reference in New Issue
Block a user