New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Sat Sep 4 09:22:26 UTC 2021
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.
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 1 of 1 defect(s)
** CID 1490901: Memory - illegal accesses (OVERRUN)
/lotuswordpro/source/filter/lwpsilverbullet.cxx: 101 in LwpSilverBullet::Read()()
________________________________________________________________________________________________________
*** CID 1490901: Memory - illegal accesses (OVERRUN)
/lotuswordpro/source/filter/lwpsilverbullet.cxx: 101 in LwpSilverBullet::Read()()
95 if (nNumPos > SAL_N_ELEMENTS(m_pResetPositionFlags))
96 throw std::range_error("corrupt SilverBullet");
97
98 for (sal_uInt16 nC = 0; nC < nNumPos; nC++)
99 m_pResetPositionFlags[nC] = m_pObjStrm->QuickReaduInt8();
100
>>> CID 1490901: Memory - illegal accesses (OVERRUN)
>>> Overrunning array of 10 bytes at byte offset 10 by dereferencing pointer "this->m_pResetPositionFlags + nNumPos".
101 memset(m_pResetPositionFlags + nNumPos, 0, SAL_N_ELEMENTS(m_pResetPositionFlags) - nNumPos);
102
103 m_nUseCount = m_pObjStrm->QuickReaduInt32();
104
105 m_pAtomHolder->Read(m_pObjStrm.get());
106 }
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DnHNc_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJi2SKCkeRNkJGofrkikCHyyEJjMek-2Bt4-2Fl8VDFqEkxT59d5tXStkb-2BUIWvqDc3fLMV1nR1MkxCa1u-2FOP-2FEEDefDlaB8LoZIrwmUZee9DuKk1yf6wckAnz9BO9gJxOy-2B-2Bqwr-2Bs-2F9Vi8mQ7w-2F-2BP7MJTwDy84MpHQfLurr-2FJB-2B7-2Bq-2B3A-3D
More information about the LibreOffice
mailing list