You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by pf...@apache.org on 2015/11/30 01:13:18 UTC
svn commit: r1717144 - /openoffice/trunk/main/sfx2/source/appl/sfxhelp.cxx
Author: pfg
Date: Mon Nov 30 00:13:18 2015
New Revision: 1717144
URL: http://svn.apache.org/viewvc?rev=1717144&view=rev
Log:
Use after free
CID: 441015
Modified:
openoffice/trunk/main/sfx2/source/appl/sfxhelp.cxx
Modified: openoffice/trunk/main/sfx2/source/appl/sfxhelp.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sfx2/source/appl/sfxhelp.cxx?rev=1717144&r1=1717143&r2=1717144&view=diff
==============================================================================
--- openoffice/trunk/main/sfx2/source/appl/sfxhelp.cxx (original)
+++ openoffice/trunk/main/sfx2/source/appl/sfxhelp.cxx Mon Nov 30 00:13:18 2015
@@ -846,7 +846,10 @@ SfxHelpWindow_Impl* impl_createHelp(Refe
}
if (!xHelpContent.is())
+ {
delete pHelpWindow;
+ return NULL;
+ }
xHelpContent->setName(::rtl::OUString(DEFINE_CONST_UNICODE("OFFICE_HELP")));