Commit 79f4aa97 authored by Dominik Weckbecker's avatar Dominik Weckbecker 💬
Browse files

fix NULL-pointer read

parent 9aef3157
Loading
Loading
Loading
Loading
Loading
+15 −12
Original line number Diff line number Diff line
@@ -1023,6 +1023,8 @@ ivas_error IVAS_DEC_FeedFrame_Serial(
    }
    hIvasDec->hasBeenPreparedRendering = false;

    if ( hIvasDec->st_ivas->hIsmRendererData != NULL )
    {
        if ( hIvasDec->st_ivas->ivas_format == ISM_FORMAT || hIvasDec->st_ivas->ivas_format == SBA_ISM_FORMAT )
        {
#ifdef OBJ_EDITING_PARAMISM
@@ -1043,6 +1045,7 @@ ivas_error IVAS_DEC_FeedFrame_Serial(
                }
            }
        }
    }
#endif

    return IVAS_ERR_OK;