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
"[email protected]", click
https://scan.coverity.com/subscriptions/edit?email=libreoffice%40lists.freedesktop.org&token=d6481d718a775246b2340f282ebe5939
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice