New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Sun Oct 1 00:21:30 UTC 2017
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.
2 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 1 of 1 defect(s)
** CID 1418672: Null pointer dereferences (FORWARD_NULL)
/sot/source/sdstor/stgio.cxx: 100 in StgIo::SetupStreams()()
________________________________________________________________________________________________________
*** CID 1418672: Null pointer dereferences (FORWARD_NULL)
/sot/source/sdstor/stgio.cxx: 100 in StgIo::SetupStreams()()
94 sal_Int32 nFatStrmSize;
95 if (o3tl::checked_multiply<sal_Int32>(m_aHdr.GetFATSize(), nPhysPageSize, nFatStrmSize))
96 {
97 SAL_WARN("sot", "Error: " << m_aHdr.GetFATSize() << " * " << nPhysPageSize << " would overflow");
98 SetError(SVSTREAM_FILEFORMAT_ERROR);
99 m_pFAT = nullptr;
>>> CID 1418672: Null pointer dereferences (FORWARD_NULL)
>>> Assigning: "this->m_pTOC" = "NULL".
100 m_pTOC = nullptr;
101 }
102 else
103 {
104 m_pFAT = new StgFATStrm(*this, nFatStrmSize);
105 m_pTOC = new StgDirStrm( *this );
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRZBnDJeNb0HijxaS4JNJPxk3kpyAm2AYqo71yXmnOxB72ibeUH-2F-2F1Lhi9AZq3dRu-2F4-3D_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyjHImzuEmcnYXTs-2Fi-2FFXWLe7SqrO7BzRy-2F1FLdrLyL0UVr2KXSsrfVKsB8Jr7WvWyJ1hY3Gi1KXq8qwXZ7UBQcJh3C-2FOnhXv7CQrDVnxpSUN8FCkvsriyU0nSD72Jufr03KTX2lAvKvUkWXWdOkln0TS6CsENzlZG6PYEbPMNR14-3D
To manage Coverity Scan email notifications for "libreoffice at lists.freedesktop.org", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4k1FZJSDV-2FTHi5VQof9xGafB4oBwGYxuHHknceo2QLpCrZ44Ciy7AqBR2QyX6OCB5lwWgMDuK-2FivqaohkU3M9kT-2Fww10Qt2GoaCJAOQCa0Wv4ijH4oV8jCt0XXa7QeAwh_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyjHImzuEmcnYXTs-2Fi-2FFXWLUm1MW8M1WyS3e6Frw5HyguY2G5klSfneBCGMWBj5LHXdSB0gh7aLKEDUfSIal5UIUTnJe2ioeeJSZ7bMlNAYY7UGMMeuSDxmz8RNV5fL8YEDBFSQhz7Az0z7ci-2Fg8kaKCsdCQ1o-2FKUeiad16knw4JU-3D
More information about the LibreOffice
mailing list