diff options
author | alexei.volkov.bugs%sun.com <devnull@localhost> | 2006-04-22 01:08:11 +0000 |
---|---|---|
committer | alexei.volkov.bugs%sun.com <devnull@localhost> | 2006-04-22 01:08:11 +0000 |
commit | b105c5157ae0f232967e00e2fcadfc5488e8624d (patch) | |
tree | c18f587f86d17d30b96d43ae59844a2492565c24 | |
parent | 897b2ff7c2a20aff9871fc0d63c5f60f32905757 (diff) | |
download | nss-hg-b105c5157ae0f232967e00e2fcadfc5488e8624d.tar.gz |
[Bug 334275] double free in [@ PK11_ListPublicKeysInSlot]. r=nelson
-rw-r--r-- | security/nss/lib/pk11wrap/pk11akey.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/nss/lib/pk11wrap/pk11akey.c b/security/nss/lib/pk11wrap/pk11akey.c index ac0fe0d52..f63ff3b9f 100644 --- a/security/nss/lib/pk11wrap/pk11akey.c +++ b/security/nss/lib/pk11wrap/pk11akey.c @@ -1958,6 +1958,7 @@ PK11_ListPublicKeysInSlot(PK11SlotInfo *slot, char *nickname) keys = SECKEY_NewPublicKeyList(); if (keys == NULL) { PORT_Free(key_ids); + return NULL; } for (i=0; i < objCount ; i++) { |