New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Fri Dec 13 06:49:50 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.
8 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 1636690: Null pointer dereferences (FORWARD_NULL)
________________________________________________________________________________________________________
*** CID 1636690: Null pointer dereferences (FORWARD_NULL)
/sd/source/ui/unoidl/unomodel.cxx: 4357 in SdXImpressDocument::getPresentationInfo() const()
4351 }
4352
4353 bool bIsDrawPageEmpty = pSlide->getCount() == 0;
4354 aJsonWriter.put("empty", bIsDrawPageEmpty);
4355
4356 // Notes
>>> CID 1636690: Null pointer dereferences (FORWARD_NULL)
>>> Passing null pointer "pPage" to "GetPageNum", which dereferences it.
4357 SdPage* pNotesPage = mpDoc->GetSdPage((pPage->GetPageNum() - 1) >> 1, PageKind::Notes);
4358 if (pNotesPage)
4359 {
4360 SdrObject* pNotes = pNotesPage->GetPresObj(PresObjKind::Notes);
4361 if (pNotes)
4362 {
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu6VvXBlQRUbS683tC8265rGNPXqJ1ffcoLZCnTuJFQbNcTEkb4XaEQkzovKhJ5DB3c-3D-gFZ_A9M4dSy7guk8NP6DcfgslOyvJRzavztVIKj6nRqYjYpWom7SJFyX0y710bz0kUGtteEIxDgH07G7NPVHIAeBNlcIFWtquMGQP0EKzwE95U-2FP3RcBjvPlbb3dUH6M0ciGxrwuhCOeVZIUuBeT1iIEdMuHSiSAqpaUQTFOhjdEh6zUv1htz8oalEVdtAo5RUJzH4y1KiXaBdRinj1BDF6BgaUHsV-2FeXVhJoAGx-2F0gbp0E-3D
More information about the LibreOffice
mailing list