https://bz.apache.org/ooo/show_bug.cgi?id=127895
Issue ID: 127895
Issue Type: DEFECT
Summary: Possible access to unintended variable in
"openoffice/main/sfx2/source/doc/sfxbasemodel.cxx"
line 940
Product: General
Version: 4.2.0-dev
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: Normal
Priority: P5 (lowest)
Component: code
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
While experimenting with a CodeSonar plugin we develop, we noticed a
potential issue in file "openoffice/main/sfx2/source/doc/sfxbasemodel.cxx" line
940 function SfxBaseModel::disposing:
else if ( xDocListener.is() )
m_pData->m_aInterfaceContainer.removeInterface( ::getCppuType((const
uno::Reference< XDOCEVENTLISTENER >*)0), xListener ); //HERE
Shouldn't xDocListener be used instead of xListener?
Thanks,
Petru-Florin Mihancea
--
You are receiving this mail because:
You are the assignee for the issue.