New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Wed Feb 10 08:05:05 UTC 2021
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.
13 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 1472858: Null pointer dereferences (FORWARD_NULL)
/vcl/jsdialog/executor.cxx: 44 in jsdialog::SendFullUpdate(unsigned long, const rtl::OString &)()
________________________________________________________________________________________________________
*** CID 1472858: Null pointer dereferences (FORWARD_NULL)
/vcl/jsdialog/executor.cxx: 44 in jsdialog::SendFullUpdate(unsigned long, const rtl::OString &)()
38 {
39 weld::Widget* pWidget = JSInstanceBuilder::FindWeldWidgetsMap(nWindowId, rWidget);
40
41 if (pWidget != nullptr)
42 {
43 auto pJSWidget = dynamic_cast<BaseJSWidget*>(pWidget);
>>> CID 1472858: Null pointer dereferences (FORWARD_NULL)
>>> Passing null pointer "pJSWidget" to "sendFullUpdate", which dereferences it. (The dereference happens because this is a virtual function call.)
44 pJSWidget->sendFullUpdate();
45 }
46 }
47
48 bool ExecuteAction(sal_uInt64 nWindowId, const OString& rWidget, StringMap& rData)
49 {
** CID 1472857: Uninitialized members (UNINIT_CTOR)
/sc/source/core/data/table1.cxx: 312 in ScTable::ScTable(ScDocument &, short, const rtl::OUString &, bool, bool)()
________________________________________________________________________________________________________
*** CID 1472857: Uninitialized members (UNINIT_CTOR)
/sc/source/core/data/table1.cxx: 312 in ScTable::ScTable(ScDocument &, short, const rtl::OUString &, bool, bool)()
306 pDrawLayer->SetPageSize( static_cast<sal_uInt16>(nTab), Size( nx, ny ), false );
307 }
308 }
309
310 for (SCCOL k=0; k < aCol.size(); k++)
311 aCol[k].Init( k, nTab, rDocument, true );
>>> CID 1472857: Uninitialized members (UNINIT_CTOR)
>>> Non-static class member "bTableAreaVisibleValid" is not initialized in this constructor nor in any functions that it calls.
312 }
313
314 ScTable::~ScTable() COVERITY_NOEXCEPT_FALSE
315 {
316 if (!rDocument.IsInDtorClear())
317 {
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3D6mEy_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJiS-2FG9YP7rC79MR7VV8jdCQY7yKFVL-2BRToIpEUcF2u4X-2Fw3R3joCeJFACH-2BlWm5EpAoXCA2zgDVXkTxXm4-2FCCFXgMx5NuZG0xZYQnSlbSMtX-2BDQ1-2Fyc9b4X6vDyBsz8EutmMB43i7jppGWMw4ERUIZyFmzChk9Y7DDM87Kava5t8FXijKdGOxUewmubEJ48IVp
More information about the LibreOffice
mailing list