diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2011-07-25 13:53:38 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@frugalware.org> | 2011-07-29 17:32:39 +0200 |
commit | 856071a7aa5543f94cfaad660af4414cae067cd6 (patch) | |
tree | 4ae03be9217a9e217dbcc9ee2d10e1cc2a9dd09a /writerfilter | |
parent | fixes for CVE-2010-3451-1.rtf (diff) | |
download | core-856071a7aa5543f94cfaad660af4414cae067cd6.tar.gz core-856071a7aa5543f94cfaad660af4414cae067cd6.zip |
fix for CVE-2005-2972-1.rtf
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/dmapper/NumberingManager.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/NumberingManager.cxx b/writerfilter/source/dmapper/NumberingManager.cxx index 049f5b941af9..0cab937789a9 100644 --- a/writerfilter/source/dmapper/NumberingManager.cxx +++ b/writerfilter/source/dmapper/NumberingManager.cxx @@ -834,7 +834,8 @@ void ListsManager::lcl_sprm( Sprm& rSprm ) case NS_rtf::LN_FWORD6: #endif case NS_rtf::LN_IXCHFOLLOW: - m_pCurrentDefinition->GetCurrentLevel( )->SetValue( nSprmId, nIntValue ); + if (m_pCurrentDefinition->GetCurrentLevel().get()) + m_pCurrentDefinition->GetCurrentLevel( )->SetValue( nSprmId, nIntValue ); break; case NS_ooxml::LN_CT_Lvl_lvlText: case NS_ooxml::LN_CT_Lvl_rPr : //contains LN_EG_RPrBase_rFonts |