New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Tue Jun 4 22:30:52 UTC 2024


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 1603200:  Uninitialized variables  (UNINIT)


________________________________________________________________________________________________________
*** CID 1603200:  Uninitialized variables  (UNINIT)
/sc/source/filter/excel/xelink.cxx: 2022 in <unnamed>::XclExpSupbookBuffer::InsertDde(const rtl::OUString &, const rtl::OUString &, const rtl::OUString &)()
2016             xSupbook = new XclExpSupbook( GetRoot(), rApplic, rTopic );
2017             nSupbook = Append(xSupbook);
2018         }
2019         auto nExtName = xSupbook->InsertDde( rItem );
2020         if (nExtName > 0)
2021         {
>>>     CID 1603200:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "nSupbook" when calling "make_pair".
2022             return std::make_pair(nSupbook, nExtName);
2023         }
2024         return {};
2025     }
2026     
2027     std::optional<std::pair<sal_uInt16, sal_uInt16>> XclExpSupbookBuffer::InsertExtName( const OUString& rUrl,

** CID 1603199:  Uninitialized variables  (UNINIT)


________________________________________________________________________________________________________
*** CID 1603199:  Uninitialized variables  (UNINIT)
/sc/source/filter/excel/xelink.cxx: 2041 in <unnamed>::XclExpSupbookBuffer::InsertExtName(const rtl::OUString &, const rtl::OUString &, const std::shared_ptr<ScTokenArray> &)()
2035             nSupbook = Append(xSupbook);
2036         }
2037     
2038         auto nExtName = xSupbook->InsertExtName(rName, rArray);
2039         if (nExtName > 0)
2040         {
>>>     CID 1603199:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "nSupbook" when calling "make_pair".
2041             return std::make_pair(nSupbook, nExtName);
2042         }
2043         return {};
2044     }
2045     
2046     XclExpXti XclExpSupbookBuffer::GetXti( sal_uInt16 nFileId, const OUString& rTabName, sal_uInt16 nXclTabSpan,


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu6VvXBlQRUbS683tC8265rGNPXqJ1ffcoLZCnTuJFQbNcTEkb4XaEQkzovKhJ5DB3c-3DWDrN_A9M4dSy7guk8NP6DcfgslOyvJRzavztVIKj6nRqYjYpWom7SJFyX0y710bz0kUGtS6TN8LX7QGFG9uikw6XI2zN6rAMQYUUfPYNRE04m2gT7LFO3nhJadEx-2BHqJuW4uZbbcOK6zeVIY4kkYzITeyFlubFnkVSvt4Po-2Brl121K2zZLBYbThYE4q0hsKXqbcwnv-2FeYx2fSQ-2BYc7GiOjnUH6htvBxT6CAQ66SqWGsdX9-2FU-3D



More information about the LibreOffice mailing list