Kaydet (Commit) 225fe06a authored tarafından Herbert Dürr's avatar Herbert Dürr

#i123409# prevent invalid iterator dereference in SwTaggedPDFHelper::CheckReopenTag()

Found by: potassium19
Patch by: hdu@apache.org
Review by: orw@apache.org
üst c98566be
......@@ -376,6 +376,7 @@ bool SwTaggedPDFHelper::CheckReopenTag()
{
FrmTagIdMap& rFrmTagIdMap = SwEnhancedPDFExportHelper::GetFrmTagIdMap();
const FrmTagIdMap::const_iterator aIter = rFrmTagIdMap.find( pKey );
if( aIter != rFrmTagIdMap.end())
nReopenTag = (*aIter).second;
}
}
......
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