functions responsible for creating an object leak if subsequent function code produces an error

RESOLVED FIXED in 3.12

Status

NSS
Libraries
P2
normal
RESOLVED FIXED
10 years ago
10 years ago

People

(Reporter: Alexei Volkov, Assigned: Alexei Volkov)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: PKIX)

(Assignee)

Description

10 years ago
The following functions have this problem:

PKIX_CertChainChecker_Create,
pkix_DefaultRevChecker_Create,
pkix_OcspChecker_Create,
pkix_CRLSelector_Select,
PKIX_TrustAnchor_CreateWithCert,
pkix_BuildResult_Create,
pkix_ValidateResult_Create,
pkix_VerifyNode_Create,
PKIX_CertStore_Create,
pkix_DefaultCRLCheckerState_Create,
pkix_NameConstraintsCheckerState_Create,
pkix_SignatureCheckerState_Create,
PKIX_Logger_Create,
pkix_pl_CollectionCertStoreContext_Creat,
pkix_pl_LdapCertStore_GetCert,
pkix_pl_Cert_CreateToList,
pkix_pl_helperBytes2Ascii

Patch is coming.
(Assignee)

Updated

10 years ago
Blocks: 397832
(Assignee)

Updated

10 years ago
Priority: -- → P2
Whiteboard: PKIX
(Assignee)

Comment 1

10 years ago
One more function: PKIX_Error_Create
(Assignee)

Comment 2

10 years ago
and one more: pkix_pl_Pk11CertStore_GetCRL
(Assignee)

Comment 3

10 years ago
and one more: pkix_Build_CheckCertAgainstAnchor - leaks verifyError at the end of the function
Version: 3.12 → trunk
(Assignee)

Comment 4

10 years ago
This bug is fixed by set of patched attached to bug 397832. Close it as resolved.
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.