[Libreoffice-commits] core.git: xmlsecurity/source
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Wed May 19 16:17:55 UTC 2021
xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 928ce6043523a70d056d15210296d627d6223c2f
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Wed May 19 15:55:48 2021 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Wed May 19 18:17:11 2021 +0200
fix leak in verifyCertificate
Change-Id: I49dd9e0de9b3e44186ed90f00aeb88dad4736374
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115814
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx
index d7e85f577cbf..081d37e0a01d 100644
--- a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx
+++ b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx
@@ -716,6 +716,7 @@ verifyCertificate( const Reference< csss::XCertificate >& aCert,
SAL_INFO("xmlsecurity.xmlsec", "Destroying temporary certificate");
CERT_DestroyCertificate(tmpCert);
}
+ PORT_FreeArena(log.arena, true);
return validity ;
}
More information about the Libreoffice-commits
mailing list