New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Sun Sep 15 18:01:24 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.
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 1619429:  Null pointer dereferences  (NULL_RETURNS)


________________________________________________________________________________________________________
*** CID 1619429:  Null pointer dereferences  (NULL_RETURNS)
/sc/source/ui/docshell/docsh.cxx: 2643 in ScDocShell::ConvertTo(SfxMedium &)()
2637                     bRet = true;
2638     
2639                     if (m_pDocument->GetTableCount() > 1)
2640                         if (!rMed.GetErrorIgnoreWarning() && SC_MOD()->GetInputOptions().GetWarnActiveSheet())
2641                         {
2642                             ScTabViewShell* pViewShell = GetBestViewShell();
>>>     CID 1619429:  Null pointer dereferences  (NULL_RETURNS)
>>>     Dereferencing a pointer that might be "nullptr" "pViewShell" when calling "ExecuteOnlyActiveSheetSavedDlg".
2643                             pViewShell->ExecuteOnlyActiveSheetSavedDlg();
2644                         }
2645                 }
2646             }
2647         }
2648         else if (aFltName == pFilterDBase)


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu6VvXBlQRUbS683tC8265rGNPXqJ1ffcoLZCnTuJFQbNcTEkb4XaEQkzovKhJ5DB3c-3DaxPX_A9M4dSy7guk8NP6DcfgslOyvJRzavztVIKj6nRqYjYpWom7SJFyX0y710bz0kUGtxaktE6ZJstZ6PCnoAj5dr0V8DZ-2FHrieFwS6CsYUtvkdgZg18L6LYWQglJPMz2fmLltZA9CVLijFdi1F8V4dqIc1q3fqR7lnG9exgQhjF0cIKcDOR82iXUxbOw5JpEt65R8Cr5iH73zubSPIEjC5zYGfJ0yji6w4jcb9wH58qRPw-3D



More information about the LibreOffice mailing list