New Defects reported by Coverity Scan for LibreOffice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
3 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 1486261:  Null pointer dereferences  (REVERSE_INULL)
/sw/source/core/layout/pagechg.cxx: 2089 in lcl_MoveAllLowers(SwFrame *, const Point &)()


________________________________________________________________________________________________________
*** CID 1486261:  Null pointer dereferences  (REVERSE_INULL)
/sw/source/core/layout/pagechg.cxx: 2089 in lcl_MoveAllLowers(SwFrame *, const Point &)()
2083         }
2084     
2085         // the move any objects
2086         lcl_MoveAllLowerObjs( pFrame, rOffset );
2087     
2088         // finally, for layout frames we have to call this function recursively:
>>>     CID 1486261:  Null pointer dereferences  (REVERSE_INULL)
>>>     Null-checking "pFrame" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
2089         if ( pFrame && pFrame->IsLayoutFrame() )
2090         {
2091             SwFrame* pLowerFrame = pFrame->GetLower();
2092             while ( pLowerFrame )
2093             {
2094                 lcl_MoveAllLowers( pLowerFrame, rOffset );

** CID 1486260:    (UNCAUGHT_EXCEPT)
/sw/source/core/doc/list.cxx: 57 in SwList::~SwList()()
/sw/source/core/doc/list.cxx: 57 in SwList::~SwList()()


________________________________________________________________________________________________________
*** CID 1486260:    (UNCAUGHT_EXCEPT)
/sw/source/core/doc/list.cxx: 57 in SwList::~SwList()()
51                 pNode = rNodes[nIndex];
52             }
53         }
54         while ( pNode != &rNodes.GetEndOfContent() );
55     }
56     
>>>     CID 1486260:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::RuntimeException" is thrown but the throw list "noexcept" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
57     SwList::~SwList() COVERITY_NOEXCEPT_FALSE
58     {
59         for ( auto& rNumberTree : maListTrees )
60         {
61             SwNodeNum::HandleNumberTreeRootNodeDelete(*(rNumberTree.pRoot));
62             SwNodeNum::HandleNumberTreeRootNodeDelete(*(rNumberTree.pRootRLHidden));
/sw/source/core/doc/list.cxx: 57 in SwList::~SwList()()
51                 pNode = rNodes[nIndex];
52             }
53         }
54         while ( pNode != &rNodes.GetEndOfContent() );
55     }
56     
>>>     CID 1486260:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::RuntimeException" is thrown but the throw list "noexcept" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
57     SwList::~SwList() COVERITY_NOEXCEPT_FALSE
58     {
59         for ( auto& rNumberTree : maListTrees )
60         {
61             SwNodeNum::HandleNumberTreeRootNodeDelete(*(rNumberTree.pRoot));
62             SwNodeNum::HandleNumberTreeRootNodeDelete(*(rNumberTree.pRootRLHidden));


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DUoF1_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJiH8VVagCickaLrfggGJ5ZO3LVWZS61J9-2FwVd4J1LvS8iqJd5k8yiVWhLJ4wTnmMHM-2BPvhIVFL3Xk31spNDtwCQBGIdccsrGw-2Bp-2Fygxpn5w5ZChkTaCuNK3bo8hkDvU-2B3lxAJVQIJWLyRe07tFSep65eIdOsqGSKabtluX1DD6A-2B0N8OScDLJQJUz4gH78UHOX

_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux