New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Thu Sep 26 05:50:44 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.
6 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 1619696: Null pointer dereferences (FORWARD_NULL)
________________________________________________________________________________________________________
*** CID 1619696: Null pointer dereferences (FORWARD_NULL)
/sw/source/uibase/shells/textidx.cxx: 278 in SwTextShell::GetIdxState(SfxItemSet &)()
272 else
273 rSet.Put(SfxBoolItem(FN_INSERT_AUTH_ENTRY_DLG, true));
274
275 SfxWhichIter aIter(rSet);
276 if (aIter.FirstWhich() == FN_REMOVE_CUR_TOX)
277 {
>>> CID 1619696: Null pointer dereferences (FORWARD_NULL)
>>> Passing null pointer "pBase" to "GetTypeName", which dereferences it.
278 const OUString sLabel = SwResId(STR_DELETEINDEX).replaceAll("%1", pBase->GetTypeName());
279 rSet.Put(SfxStringItem(FN_REMOVE_CUR_TOX, sLabel));
280 }
281 }
282 else if ( rSh.CursorInsideInputField() )
283 {
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu6VvXBlQRUbS683tC8265rGNPXqJ1ffcoLZCnTuJFQbNcTEkb4XaEQkzovKhJ5DB3c-3DiiK6_A9M4dSy7guk8NP6DcfgslOyvJRzavztVIKj6nRqYjYpWom7SJFyX0y710bz0kUGt5I6ZGms0XWv1OzkzVua66jirjEaPDYIRHkzD-2BnVYmmmsU4nW7Sbk7K-2FG4QK2PspbsSffe7pNZEp9aYtUXc7KM1S3xkj6bfuJttbloGoHEyuxkD8ruNyUb5O9RgBupatqyWfTBKiGzhsZNONZnXzCoJHWlCZIN6jQQ6jHfFCGtaQ-3D
More information about the LibreOffice
mailing list