coverity#1158098 Explicit null dereferenced
Change-Id: Id21a206df7d9c221fabf8503d959bfe314217214
This commit is contained in:
parent
6459d7beb1
commit
ccb5f1a791
@ -853,6 +853,9 @@ void Export::InsertListEntry(const OString &rLine)
|
||||
{
|
||||
ResData *pResData = ( nLevel-1 < aResStack.size() ) ? aResStack[ nLevel-1 ] : NULL;
|
||||
|
||||
if (!pResData)
|
||||
std::exit(EXIT_FAILURE);
|
||||
|
||||
if( pResData->m_aList.empty() )
|
||||
nListIndex = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user