summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralexei.volkov.bugs%sun.com <devnull@localhost>2006-04-22 01:03:22 +0000
committeralexei.volkov.bugs%sun.com <devnull@localhost>2006-04-22 01:03:22 +0000
commit897b2ff7c2a20aff9871fc0d63c5f60f32905757 (patch)
treed5516216af56b13b89c5bed4dbebe2cf37de2d08
parent57f86ca283549ce1f3d52ca2c59133cf333e677b (diff)
downloadnss-hg-897b2ff7c2a20aff9871fc0d63c5f60f32905757.tar.gz
[Bug 334273] double free in SECKEY_DecodeDERSubjectPublicKeyInfo. r=nelson
-rw-r--r--security/nss/lib/cryptohi/seckey.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/nss/lib/cryptohi/seckey.c b/security/nss/lib/cryptohi/seckey.c
index df9e1d7e9..b5d583fab 100644
--- a/security/nss/lib/cryptohi/seckey.c
+++ b/security/nss/lib/cryptohi/seckey.c
@@ -1999,7 +1999,6 @@ SECKEY_DecodeDERSubjectPublicKeyInfo(SECItem *spkider)
}
if (rv == SECSuccess)
return spki;
- SECKEY_DestroySubjectPublicKeyInfo(spki);
} else {
PORT_SetError(SEC_ERROR_NO_MEMORY);
}