New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Fri Sep 20 17:33:46 UTC 2024
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.
9 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 1619483: Memory - illegal accesses (USE_AFTER_FREE)
/sc/source/core/data/attarray.cxx: 2421 in ScAttrArray::CopyArea(int, int, long, ScAttrArray&, ScMF) const()
________________________________________________________________________________________________________
*** CID 1619483: Memory - illegal accesses (USE_AFTER_FREE)
/sc/source/core/data/attarray.cxx: 2421 in ScAttrArray::CopyArea(int, int, long, ScAttrArray&, ScMF) const()
2415 const ScPatternAttr* pOldPattern = mvData[i].getScPatternAttr();
2416 CellAttributeHolder aNewPattern;
2417
2418 if (ScPatternAttr::areSame(pSourceDefaultPattern, pOldPattern ))
2419 {
2420 // default: nothing changed
>>> CID 1619483: Memory - illegal accesses (USE_AFTER_FREE)
>>> Passing freed pointer "pDestDefaultPattern" as an argument to "setScPatternAttr".
2421 aNewPattern.setScPatternAttr(pDestDefaultPattern);
2422 }
2423 else if ( nStripFlags != ScMF::NONE )
2424 {
2425 ScPatternAttr* pTmpPattern(new ScPatternAttr(*pOldPattern ));
2426 ScMF nNewFlags = ScMF::NONE;
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu6VvXBlQRUbS683tC8265rGNPXqJ1ffcoLZCnTuJFQbNcTEkb4XaEQkzovKhJ5DB3c-3DIo9W_A9M4dSy7guk8NP6DcfgslOyvJRzavztVIKj6nRqYjYpWom7SJFyX0y710bz0kUGtT1-2BN75YVmmQrM73PYi78ufq3YDviu-2BSoz1yvh9cmHdrnKbez-2Buj99AuShVuRc4Vh4gMvJu2iHtwfJDAsoyD0OozY6RMjeCWjWhMemxm1p7brUj4F7-2Fem0pYeNajoEzp0-2BBgAeHBwiNnz6zjbvmHNmTCDbJPoq36O3jhwz7-2BXAPc-3D
More information about the LibreOffice
mailing list