Closed
Bug 587429
Opened 15 years ago
Closed 15 years ago
PK11_GetAllSlotsForCert should check cert before calling nssPKIObject_GetInstances
Categories
(NSS :: Libraries, defect)
NSS
Libraries
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: timeless, Unassigned)
Details
(Keywords: coverity, memory-leak)
2478 PK11_GetAllSlotsForCert(CERTCertificate *cert, void *arg)
2480 NSSCertificate *c = STAN_GetNSSCertificate(cert);
2483 nssCryptokiObject **instances = nssPKIObject_GetInstances(&c->object);
2487 if (!cert) {
2488 PORT_SetError(SEC_ERROR_INVALID_ARGS);
2489 return NULL;
2490 }
ok, this was resolved by bug 575620 (landing NSS 3.12.7), kinda sad that our coverity run is pre july 19 :(.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•