Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index



Hi,

Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.

1 new defect(s) introduced to LibreOffice found with Coverity Scan.


New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1316521:  Null pointer dereferences  (NULL_RETURNS)
/svtools/source/contnr/foldertree.cxx: 97 in FolderTree::FillTreeEntry(const rtl::OUString &, const 
std::vector<std::pair<rtl::OUString, rtl::OUString>, std::allocator<std::pair<rtl::OUString, 
rtl::OUString>>> &)()


________________________________________________________________________________________________________
*** CID 1316521:  Null pointer dereferences  (NULL_RETURNS)
/svtools/source/contnr/foldertree.cxx: 97 in FolderTree::FillTreeEntry(const rtl::OUString &, const 
std::vector<std::pair<rtl::OUString, rtl::OUString>, std::allocator<std::pair<rtl::OUString, 
rtl::OUString>>> &)()
91         SvTreeListEntry* pParent = GetCurEntry();
92     
93         if( pParent && !IsExpanded( pParent ) )
94         {
95             while( GetChildCount( pParent ) > 0 )
96             {
    CID 1316521:  Null pointer dereferences  (NULL_RETURNS)
    Assigning: "pChild" = null return value from "FirstChild".
97                 SvTreeListEntry* pChild = FirstChild( pParent );
98                 GetModel()->Remove( pChild );
99             }
100     
101             for(::std::vector< std::pair< OUString, OUString > >::const_iterator it = 
rFolders.begin(); it != rFolders.end() ; ++it)
102             {


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://scan.coverity.com/projects/libreoffice?tab=overview

To manage Coverity Scan email notifications for "libreoffice@lists.freedesktop.org", click 
https://scan.coverity.com/subscriptions/edit?email=libreoffice%40lists.freedesktop.org&token=d6481d718a775246b2340f282ebe5939


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.