Kaydet (Commit) 6a9f2f04 authored tarafından Caolán McNamara's avatar Caolán McNamara

ofz: Null-deref

Change-Id: I2a0a6fdfe678e898d73e2bdbfe67764300bde494
üst d9533e4c
...@@ -3960,6 +3960,8 @@ void SwHTMLParser::BuildTableCell( HTMLTable *pCurTable, bool bReadOptions, ...@@ -3960,6 +3960,8 @@ void SwHTMLParser::BuildTableCell( HTMLTable *pCurTable, bool bReadOptions,
while( m_aContexts.size() > m_nContextStAttrMin ) while( m_aContexts.size() > m_nContextStAttrMin )
{ {
std::unique_ptr<HTMLAttrContext> xCntxt(PopContext()); std::unique_ptr<HTMLAttrContext> xCntxt(PopContext());
if (!xCntxt)
break;
ClearContext(xCntxt.get()); ClearContext(xCntxt.get());
} }
} }
......
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