New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Tue Dec 30 14:49:04 PST 2014


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.
60 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 1261367:  Uninitialized pointer field  (UNINIT_CTOR)
/usr/include/c++/4.9.2/bits/hashtable.h: 803 in std::_Hashtable<basctl::LibInfos::Key, std::pair<const basctl::LibInfos::Key, basctl::LibInfos::Item>, std::allocator<std::pair<const basctl::LibInfos::Key, basctl::LibInfos::Item>>, std::__detail::_Select1st, std::equal_to<basctl::LibInfos::Key>, basctl::LibInfos::Key::Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<(bool)1, (bool)0, (bool)1>>::_Hashtable(unsigned long, const basctl::LibInfos::Key::Hash &, const std::__detail::_Mod_range_hashing &, const std::__detail::_Default_ranged_hash &, const std::equal_to<basctl::LibInfos::Key> &, const std::__detail::_Select1st &, const std::allocator<std::pair<const basctl::LibInfos::Key, basctl::LibInfos::Item>>&)()

** CID 1261368:  Uninitialized pointer field  (UNINIT_CTOR)
/usr/include/c++/4.9.2/bits/hashtable.h: 803 in std::_Hashtable<long, std::pair<const long, comphelper::NumberedCollection::TNumberedItem>, std::allocator<std::pair<const long, comphelper::NumberedCollection::TNumberedItem>>, std::__detail::_Select1st, std::equal_to<long>, boost::hash<long>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<(bool)1, (bool)0, (bool)1>>::_Hashtable(unsigned long, const boost::hash<long> &, const std::__detail::_Mod_range_hashing &, const std::__detail::_Default_ranged_hash &, const std::equal_to<long> &, const std::__detail::_Select1st &, const std::allocator<std::pair<const long, comphelper::NumberedCollection::TNumberedItem>>&)()


________________________________________________________________________________________________________
*** CID 1261367:  Uninitialized pointer field  (UNINIT_CTOR)
/usr/include/c++/4.9.2/bits/hashtable.h: 803 in std::_Hashtable<basctl::LibInfos::Key, std::pair<const basctl::LibInfos::Key, basctl::LibInfos::Item>, std::allocator<std::pair<const basctl::LibInfos::Key, basctl::LibInfos::Item>>, std::__detail::_Select1st, std::equal_to<basctl::LibInfos::Key>, basctl::LibInfos::Key::Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<(bool)1, (bool)0, (bool)1>>::_Hashtable(unsigned long, const basctl::LibInfos::Key::Hash &, const std::__detail::_Mod_range_hashing &, const std::__detail::_Default_ranged_hash &, const std::equal_to<basctl::LibInfos::Key> &, const std::__detail::_Select1st &, const std::allocator<std::pair<const basctl::LibInfos::Key, basctl::LibInfos::Item>>&)()
797           __hashtable_alloc(__node_alloc_type(__a)),
798           _M_element_count(0),
799           _M_rehash_policy()
800         {
801           _M_bucket_count = _M_rehash_policy._M_next_bkt(__bucket_hint);
802           _M_buckets = _M_allocate_buckets(_M_bucket_count);
>>>     CID 1261367:  Uninitialized pointer field  (UNINIT_CTOR)
>>>     Non-static class member "_M_single_bucket" is not initialized in this constructor nor in any functions that it calls.
803         }
804     
805       template<typename _Key, typename _Value,
806     	   typename _Alloc, typename _ExtractKey, typename _Equal,
807     	   typename _H1, typename _H2, typename _Hash, typename _RehashPolicy,
808     	   typename _Traits>

________________________________________________________________________________________________________
*** CID 1261368:  Uninitialized pointer field  (UNINIT_CTOR)
/usr/include/c++/4.9.2/bits/hashtable.h: 803 in std::_Hashtable<long, std::pair<const long, comphelper::NumberedCollection::TNumberedItem>, std::allocator<std::pair<const long, comphelper::NumberedCollection::TNumberedItem>>, std::__detail::_Select1st, std::equal_to<long>, boost::hash<long>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<(bool)1, (bool)0, (bool)1>>::_Hashtable(unsigned long, const boost::hash<long> &, const std::__detail::_Mod_range_hashing &, const std::__detail::_Default_ranged_hash &, const std::equal_to<long> &, const std::__detail::_Select1st &, const std::allocator<std::pair<const long, comphelper::NumberedCollection::TNumberedItem>>&)()
797           __hashtable_alloc(__node_alloc_type(__a)),
798           _M_element_count(0),
799           _M_rehash_policy()
800         {
801           _M_bucket_count = _M_rehash_policy._M_next_bkt(__bucket_hint);
802           _M_buckets = _M_allocate_buckets(_M_bucket_count);
>>>     CID 1261368:  Uninitialized pointer field  (UNINIT_CTOR)
>>>     Non-static class member "_M_single_bucket" is not initialized in this constructor nor in any functions that it calls.
803         }
804     
805       template<typename _Key, typename _Value,
806     	   typename _Alloc, typename _ExtractKey, typename _Equal,
807     	   typename _H1, typename _H2, typename _Hash, typename _RehashPolicy,
808     	   typename _Traits>


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

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



More information about the LibreOffice mailing list