New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Fri Feb 25 17:10:07 UTC 2022


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 1501300:  Memory - illegal accesses  (USE_AFTER_FREE)
/desktop/source/lib/init.cxx: 6759 in libreofficekit_hook_2()


________________________________________________________________________________________________________
*** CID 1501300:  Memory - illegal accesses  (USE_AFTER_FREE)
/desktop/source/lib/init.cxx: 6759 in libreofficekit_hook_2()
6753             gImpl = new LibLibreOffice_Impl();
6754             if (!lo_initialize(gImpl, install_path, user_profile_url))
6755             {
6756                 lo_destroy(gImpl);
6757             }
6758         }
>>>     CID 1501300:  Memory - illegal accesses  (USE_AFTER_FREE)
>>>     Using freed pointer "gImpl".
6759         return static_cast<LibreOfficeKit*>(gImpl);
6760     }
6761     
6762     SAL_JNI_EXPORT
6763     LibreOfficeKit *libreofficekit_hook(const char* install_path)
6764     {


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3D5fkF_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJib889WAAghdYk8GW73So6C4vMkZkK8G6PmoEB3eRuPNQf1yjEdhdeOrb0sKjCjxYUc6Wtpvc3ZF66GSrj8eJchpgwxs-2FkEOVHFXgOMuvT4pEMMCa9yqBrcgydn7uHoUROAq-2BbYSdIBPftD-2F3fwUomPa3OskcgI670WWWP0RdtQ6E-3D



More information about the LibreOffice mailing list