Fixed NULL dereference.

This commit is contained in:
Armin Novak 2020-01-23 09:06:19 +01:00
parent 2cb022a922
commit c92bbb37f5
1 changed files with 6 additions and 1 deletions

View File

@ -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];