New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Sat Nov 27 09:33:26 UTC 2021
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.
3 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 1494452: Null pointer dereferences (REVERSE_INULL)
/sfx2/source/view/ipclient.cxx: 289 in SfxInPlaceClient_Impl::saveObject()()
________________________________________________________________________________________________________
*** CID 1494452: Null pointer dereferences (REVERSE_INULL)
/sfx2/source/view/ipclient.cxx: 289 in SfxInPlaceClient_Impl::saveObject()()
283 }
284 catch ( uno::Exception& )
285 {
286 }
287
288 // the client can exist only in case there is a view shell
>>> CID 1494452: Null pointer dereferences (REVERSE_INULL)
>>> Null-checking "this->m_pClient" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
289 if ( !m_pClient || !m_pClient->GetViewShell() )
290 throw uno::RuntimeException();
291
292 SfxObjectShell* pDocShell = m_pClient->GetViewShell()->GetObjectShell();
293 if ( !pDocShell )
294 throw uno::RuntimeException();
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3D-wcz_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJiMVyuwCMGUElFx-2Bj3nxFVBGgLjUue2TdqEewj8xYOudRBW6hisvfuHbROyT2hoUIu4dJbpJrOuciHFFMZ71AOoFZIqRBk2VtnaxgmJwIvewjPUaeOHL2gX6vHna1xTl6Uqok-2F8TFI-2F962tvKhRg6F-2FmSvb4H9By-2FCPxMHaq-2Fae4A-3D
More information about the LibreOffice
mailing list