diff options
author | wtc%netscape.com <devnull@localhost> | 2002-08-03 00:05:06 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2002-08-03 00:05:06 +0000 |
commit | 1afab411ba6a06ef42f20ea35e9712ff6e7fae55 (patch) | |
tree | 38e68465d7110551b64595c531947a7d579c9392 | |
parent | 6f5e97a8803afa8f74fe97d8eeb3a934e5a3b85b (diff) | |
download | nss-hg-1afab411ba6a06ef42f20ea35e9712ff6e7fae55.tar.gz |
Merged the fix for bug 156801 from the trunk (rev. 1.87) to NSS_3_5_BRANCH.
a=asa for checkin to mozilla1.1.
-rw-r--r-- | security/nss/lib/pk11wrap/pk11cert.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/security/nss/lib/pk11wrap/pk11cert.c b/security/nss/lib/pk11wrap/pk11cert.c index 8e207328b..745fce946 100644 --- a/security/nss/lib/pk11wrap/pk11cert.c +++ b/security/nss/lib/pk11wrap/pk11cert.c @@ -843,6 +843,9 @@ pk11_CollectCrls(PK11SlotInfo *slot, CK_OBJECT_HANDLE crlID, void *arg) derCrl.data = (unsigned char *)fetchCrl[0].pValue; derCrl.len = fetchCrl[0].ulValueLen; new_node->crl=CERT_DecodeDERCrl(head->arena,&derCrl,new_node->type); + if (new_node->crl == NULL) { + goto loser; + } if (fetchCrl[2].pValue) { int nnlen = fetchCrl[2].ulValueLen; |