mirror of https://github.com/FreeRDP/FreeRDP
Fixed NULL dereference.
This commit is contained in:
parent
2cb022a922
commit
c92bbb37f5
|
@ -946,7 +946,12 @@ static BOOL rfx_process_message_tileset(RFX_CONTEXT* context, RFX_MESSAGE* messa
|
|||
|
||||
if (context->priv->UseThreads)
|
||||
{
|
||||
assert(params);
|
||||
if (!params)
|
||||
{
|
||||
rc = FALSE;
|
||||
break;
|
||||
}
|
||||
|
||||
params[i].context = context;
|
||||
params[i].tile = message->tiles[i];
|
||||
|
||||
|
|
Loading…
Reference in New Issue