You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2018/09/17 14:28:43 UTC
[Issue 127895] New: Possible access to unintended variable in
"openoffice/main/sfx2/source/doc/sfxbasemodel.cxx" line 940
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: issues@openoffice.apache.org
Reporter: petrum@gmail.com
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.
[Issue 127895] Possible access to unintended variable in
"openoffice/main/sfx2/source/doc/sfxbasemodel.cxx" line 940
Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127895
oooforum (fr) <oo...@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |oooforum@free.fr
--- Comment #1 from oooforum (fr) <oo...@free.fr> ---
Now, you can propose a patch through Github:
https://github.com/apache/openoffice/
--
You are receiving this mail because:
You are the assignee for the issue.
[Issue 127895] Possible access to unintended variable in
"openoffice/main/sfx2/source/doc/sfxbasemodel.cxx" line 940
Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127895
Petru-Florin Mihancea <pe...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |petrum@gmail.com
--
You are receiving this mail because:
You are the assignee for the issue.
[Issue 127895] Possible access to unintended variable in
"openoffice/main/sfx2/source/doc/sfxbasemodel.cxx" line 940
Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127895
Carl Marcum <cm...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |ACCEPTED
CC| |cmarcum@apache.org
--- Comment #2 from Carl Marcum <cm...@apache.org> ---
patched in b82be50
https://github.com/apache/openoffice/commit/b82be50fa0f1a4e9f27bc8d6c5da1904c31a998f
--
You are receiving this mail because:
You are the assignee for the issue.
[Issue 127895] Possible access to unintended variable in
"openoffice/main/sfx2/source/doc/sfxbasemodel.cxx" line 940
Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127895
Carl Marcum <cm...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ACCEPTED |RESOLVED
Resolution|--- |FIXED
--
You are receiving this mail because:
You are the assignee for the issue.
[Issue 127895] Possible access to unintended variable in "openoffice/main/sfx2/source/doc/sfxbasemodel.cxx" line 940
Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127895
Matthias Seidel <ms...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.1.15
CC| |mseidel@apache.org
--- Comment #3 from Matthias Seidel <ms...@apache.org> ---
Cherry-picked for AOO41X with:
https://github.com/apache/openoffice/commit/e4c033a6c67754b39675d5af31808c4bb3a33173
--
You are receiving this mail because:
You are the assignee for the issue.