New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Mon Apr 8 20:18:28 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.
15 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 1596278: Null pointer dereferences (FORWARD_NULL)
________________________________________________________________________________________________________
*** CID 1596278: Null pointer dereferences (FORWARD_NULL)
/sw/source/core/text/frmform.cxx: 1205 in SwTextFrame::FormatAdjust(SwTextFormatter &, WidowsAndOrphans &, o3tl::strong_int<int, Tag_TextFrameIndex>, bool)()
1199 nNew = 0;
1200 }
1201 else if (!bEmptyWithSplitFly)
1202 {
1203 // Do not split immediately in the beginning of page (unless there is an at-para or
1204 // at-char or at-page fly, which pushes the rest down)
>>> CID 1596278: Null pointer dereferences (FORWARD_NULL)
>>> Passing null pointer "pBodyFrame" to "hasAtPageFly", which dereferences it.
1205 if (isFirstVisibleFrameInBody(this) && !hasFly(this) && !hasAtPageFly(pBodyFrame))
1206 nNew = 0;
1207 }
1208 }
1209
1210 if ( nNew )
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu6VvXBlQRUbS683tC8265rGNPXqJ1ffcoLZCnTuJFQbNcTEkb4XaEQkzovKhJ5DB3c-3DOVq3_A9M4dSy7guk8NP6DcfgslOyvJRzavztVIKj6nRqYjYpWom7SJFyX0y710bz0kUGtlPTtwlLm0LVNz3b0CKB7cFDFIk0k2thRDBo3nZcFupaXqV493hgw-2Fl3onk-2FssT3N05Vk0hTGK1WN0aWq7a0zbfChKTMPg-2F20R8sbH8UhQ2yNsd-2BisYfJG4M66fXujPTZET58sbQSW5rWAtEOA-2FghnAs5P-2FQWwJSwNw9iubDqwmk-3D
More information about the LibreOffice
mailing list