New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Fri Sep 6 18:38:18 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.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1619147: Null pointer dereferences (REVERSE_INULL)
/cui/source/dialogs/hldoctp.cxx: 219 in SvxHyperlinkDocTp::ClickTargetHdl_Impl(weld::Button &)()
________________________________________________________________________________________________________
*** CID 1619147: Null pointer dereferences (REVERSE_INULL)
/cui/source/dialogs/hldoctp.cxx: 219 in SvxHyperlinkDocTp::ClickTargetHdl_Impl(weld::Button &)()
213 maStrURL.startsWith( sHash ) )
214 {
215 mxMarkWnd->SetError( LERR_NOERROR );
216
217 weld::WaitObject aWait(mpDialog->getDialog());
218
>>> CID 1619147: Null pointer dereferences (REVERSE_INULL)
>>> Null-checking "this->mxMarkWnd" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
219 if (mxMarkWnd)
220 {
221 if ( maStrURL.equalsIgnoreAsciiCase( INET_FILE_SCHEME ) )
222 mxMarkWnd->RefreshTree ( u""_ustr );
223 else
224 mxMarkWnd->RefreshTree ( maStrURL );
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu6VvXBlQRUbS683tC8265rGNPXqJ1ffcoLZCnTuJFQbNcTEkb4XaEQkzovKhJ5DB3c-3Dgp_s_A9M4dSy7guk8NP6DcfgslOyvJRzavztVIKj6nRqYjYpWom7SJFyX0y710bz0kUGtAMRRyLkMGA2UYKIfQuWTlMjdN4Yq8XPXgQxwTNHJpJ0qblczbhhBdLHrrtn7gfhVRWRpaLfVtm8mKbrNpsiueMnA571F1uabFKxt8XumWFrqQk03QZoz-2BI0GNB7K599Sx0ZL-2BGM2HH0-2BVNL9iuKC4qvDV57RpBoIwXJLuTEaAYQ-3D
More information about the LibreOffice
mailing list