Kaydet (Commit) 54d8dbdc authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1266454 Explicit null dereferenced

Change-Id: Ic8f13e9bd3755c9ccb59d173ac0a36be1d06a2f4
üst 383a5f2e
...@@ -1663,9 +1663,11 @@ namespace accessibility ...@@ -1663,9 +1663,11 @@ namespace accessibility
{ {
break; break;
} }
if( nIndex >= reeBegin && nIndex < reeEnd ) if (!ree.pFieldItem)
continue;
if (nIndex >= reeBegin && nIndex < reeEnd)
{ {
if(ree.pFieldItem->GetField()->GetClassId() != text::textfield::Type::URL) if (ree.pFieldItem->GetField()->GetClassId() != text::textfield::Type::URL)
{ {
nFoundFieldIndex = j; nFoundFieldIndex = j;
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment