New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Mon Aug 17 16:17:29 PDT 2015
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 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