New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Sat Apr 4 10:18:46 PDT 2015
Hi,
Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.
2 new defect(s) introduced to LibreOffice found with Coverity Scan.
5 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 2 of 2 defect(s)
** CID 1292911: (PASS_BY_VALUE)
/usr/include/c++/4.9.2/functional: 2419 in std::function<SvxLRSpaceItem ()>::function<SwTableProperties_Impl::ApplyTblAttr(const SwTable &, SwDoc &)::[lambda() (instance 4)], void>(T1)()
/usr/include/c++/4.9.2/functional: 2419 in std::function<SvxULSpaceItem ()>::function<SwTableProperties_Impl::ApplyTblAttr(const SwTable &, SwDoc &)::[lambda() (instance 5)], void>(T1)()
/usr/include/c++/4.9.2/functional: 2419 in std::function<SvxFmtBreakItem ()>::function<SwTableProperties_Impl::ApplyTblAttr(const SwTable &, SwDoc &)::[lambda() (instance 2)], void>(T1)()
/usr/include/c++/4.9.2/functional: 2419 in std::function<SvxBrushItem ()>::function<SwTableProperties_Impl::ApplyTblAttr(const SwTable &, SwDoc &)::[lambda() (instance 1)], void>(T1)()
/usr/include/c++/4.9.2/functional: 2419 in std::function<SvxFmtKeepItem ()>::function<SwTableProperties_Impl::ApplyTblAttr(const SwTable &, SwDoc &)::[lambda() (instance 3)], void>(T1)()
________________________________________________________________________________________________________
*** CID 1292911: (PASS_BY_VALUE)
/usr/include/c++/4.9.2/functional: 2419 in std::function<SvxLRSpaceItem ()>::function<SwTableProperties_Impl::ApplyTblAttr(const SwTable &, SwDoc &)::[lambda() (instance 4)], void>(T1)()
2413 }
2414 }
2415
2416 template<typename _Res, typename... _ArgTypes>
2417 template<typename _Functor, typename>
2418 function<_Res(_ArgTypes...)>::
>>> CID 1292911: (PASS_BY_VALUE)
>>> Passing parameter __f of type "SwTableProperties_Impl::ApplyTblAttr(SwTable const &, SwDoc &)::[lambda() (instance 4)]" (size 168 bytes) by value.
2419 function(_Functor __f)
2420 : _Function_base()
2421 {
2422 typedef _Function_handler<_Signature_type, _Functor> _My_handler;
2423
2424 if (_My_handler::_M_not_empty_function(__f))
/usr/include/c++/4.9.2/functional: 2419 in std::function<SvxULSpaceItem ()>::function<SwTableProperties_Impl::ApplyTblAttr(const SwTable &, SwDoc &)::[lambda() (instance 5)], void>(T1)()
2413 }
2414 }
2415
2416 template<typename _Res, typename... _ArgTypes>
2417 template<typename _Functor, typename>
2418 function<_Res(_ArgTypes...)>::
>>> CID 1292911: (PASS_BY_VALUE)
>>> Passing parameter __f of type "SwTableProperties_Impl::ApplyTblAttr(SwTable const &, SwDoc &)::[lambda() (instance 5)]" (size 168 bytes) by value.
2419 function(_Functor __f)
2420 : _Function_base()
2421 {
2422 typedef _Function_handler<_Signature_type, _Functor> _My_handler;
2423
2424 if (_My_handler::_M_not_empty_function(__f))
/usr/include/c++/4.9.2/functional: 2419 in std::function<SvxFmtBreakItem ()>::function<SwTableProperties_Impl::ApplyTblAttr(const SwTable &, SwDoc &)::[lambda() (instance 2)], void>(T1)()
2413 }
2414 }
2415
2416 template<typename _Res, typename... _ArgTypes>
2417 template<typename _Functor, typename>
2418 function<_Res(_ArgTypes...)>::
>>> CID 1292911: (PASS_BY_VALUE)
>>> Passing parameter __f of type "SwTableProperties_Impl::ApplyTblAttr(SwTable const &, SwDoc &)::[lambda() (instance 2)]" (size 168 bytes) by value.
2419 function(_Functor __f)
2420 : _Function_base()
2421 {
2422 typedef _Function_handler<_Signature_type, _Functor> _My_handler;
2423
2424 if (_My_handler::_M_not_empty_function(__f))
/usr/include/c++/4.9.2/functional: 2419 in std::function<SvxBrushItem ()>::function<SwTableProperties_Impl::ApplyTblAttr(const SwTable &, SwDoc &)::[lambda() (instance 1)], void>(T1)()
2413 }
2414 }
2415
2416 template<typename _Res, typename... _ArgTypes>
2417 template<typename _Functor, typename>
2418 function<_Res(_ArgTypes...)>::
>>> CID 1292911: (PASS_BY_VALUE)
>>> Passing parameter __f of type "SwTableProperties_Impl::ApplyTblAttr(SwTable const &, SwDoc &)::[lambda() (instance 1)]" (size 168 bytes) by value.
2419 function(_Functor __f)
2420 : _Function_base()
2421 {
2422 typedef _Function_handler<_Signature_type, _Functor> _My_handler;
2423
2424 if (_My_handler::_M_not_empty_function(__f))
/usr/include/c++/4.9.2/functional: 2419 in std::function<SvxFmtKeepItem ()>::function<SwTableProperties_Impl::ApplyTblAttr(const SwTable &, SwDoc &)::[lambda() (instance 3)], void>(T1)()
2413 }
2414 }
2415
2416 template<typename _Res, typename... _ArgTypes>
2417 template<typename _Functor, typename>
2418 function<_Res(_ArgTypes...)>::
>>> CID 1292911: (PASS_BY_VALUE)
>>> Passing parameter __f of type "SwTableProperties_Impl::ApplyTblAttr(SwTable const &, SwDoc &)::[lambda() (instance 3)]" (size 168 bytes) by value.
2419 function(_Functor __f)
2420 : _Function_base()
2421 {
2422 typedef _Function_handler<_Signature_type, _Functor> _My_handler;
2423
2424 if (_My_handler::_M_not_empty_function(__f))
** CID 1292910: Null pointer dereferences (FORWARD_NULL)
/sc/source/core/data/drwlayer.cxx: 147 in ScUndoAnchorData::Undo()()
________________________________________________________________________________________________________
*** CID 1292910: Null pointer dereferences (FORWARD_NULL)
/sc/source/core/data/drwlayer.cxx: 147 in ScUndoAnchorData::Undo()()
141 {
142 }
143
144 void ScUndoAnchorData::Undo()
145 {
146 // Trigger Object Change
>>> CID 1292910: Null pointer dereferences (FORWARD_NULL)
>>> Comparing "this->pObj" to null implies that "this->pObj" might be null.
147 if(pObj && pObj->IsInserted() && pObj->GetPage() && pObj->GetModel())
148 {
149 SdrHint aHint(*pObj);
150 pObj->GetModel()->Broadcast(aHint);
151 }
152
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/211?tab=overview
To manage Coverity Scan email notifications for "libreoffice at lists.freedesktop.org", click https://scan.coverity.com/subscriptions/edit?email=libreoffice%40lists.freedesktop.org&token=d6481d718a775246b2340f282ebe5939 .
More information about the LibreOffice
mailing list