New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Thu Aug 4 07:11:19 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.


New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1507745:  Memory - illegal accesses  (RETURN_LOCAL)
/ucb/source/ucp/cmis/auth_provider.hxx: 37 in cmis::AuthProvider::AuthProvider(com::sun::star::uno::Reference<com::sun::star::ucb::XCommandEnvironment>, rtl::OUString, rtl::OUString)()


________________________________________________________________________________________________________
*** CID 1507745:  Memory - illegal accesses  (RETURN_LOCAL)
/ucb/source/ucp/cmis/auth_provider.hxx: 37 in cmis::AuthProvider::AuthProvider(com::sun::star::uno::Reference<com::sun::star::ucb::XCommandEnvironment>, rtl::OUString, rtl::OUString)()
31             OUString m_sBindingUrl;
32     
33             public:
34                 AuthProvider ( css::uno::Reference< css::ucb::XCommandEnvironment> xEnv,
35                                OUString sUrl,
36                                OUString sBindingUrl ):
>>>     CID 1507745:  Memory - illegal accesses  (RETURN_LOCAL)
>>>     Returning, through "this->m_xEnv", pointer "std::move(xEnv)" which points to local variable "xEnv".
37                     m_xEnv( std::move(xEnv) ), m_sUrl( std::move(sUrl) ), m_sBindingUrl( std::move(sBindingUrl) ) { }
38     
39                 bool authenticationQuery( std::string& username, std::string& password ) override;
40     
41                 std::string getRefreshToken( std::string& username );
42                 bool storeRefreshToken(const std::string& username, const std::string& password,


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DOnpf_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJinwhe7TefufiIRd-2BhNQRFe9PSJ-2BTFlJ6YwTbqH0RZEK6DPXFQ-2F-2F9Tfjy0CCVrPJMTE1BZeZPxUlDgMpRDjWE3zP00lgEY9Cfp1t22LzViiGLRp6X6WHngOPqOrC5-2BHSBwuwsvh-2FuhYRn-2F-2BPq2La2rjdp9kYmnVA-2FOSnQ8J0eJuog-3D



More information about the LibreOffice mailing list