double free in [@ SECKEY_CopyPublicKey]

RESOLVED FIXED in 3.11.1

Status

NSS
Libraries
P2
critical
RESOLVED FIXED
11 years ago
6 years ago

People

(Reporter: timeless, Assigned: Alexei Volkov)

Tracking

(4 keywords)

3.11
3.11.1
All
Linux
coverity, crash, fixed1.8.0.10, fixed1.8.1.1

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: CID 302, crash signature, URL)

Attachments

(1 attachment)

fix
10.28 KB, patch
Nelson Bolyard (seldom reads bugmail)
: review+
Details | Diff | Splinter Review
(Reporter)

Description

11 years ago
found by coverity

PORT_FreeArena
SECKEY_DestroyPublicKey
SECKEY_CopyPublicKey

PORT_FreeArena
SECKEY_CopyPublicKey

Updated

11 years ago
Assignee: kengert → nobody
Severity: blocker → critical
Priority: -- → P2
Target Milestone: --- → 3.11.1
Version: 4.0 → 3.11
Hardware: PC → All
(Assignee)

Comment 1

11 years ago
Created attachment 219644 [details] [diff] [review]
fix
Assignee: nobody → alexei.volkov.bugs
Status: NEW → ASSIGNED
Attachment #219644 - Flags: review?(nelson)
Comment on attachment 219644 [details] [diff] [review]
fix

r=nelson
Attachment #219644 - Flags: review?(nelson) → review+
(Assignee)

Comment 3

11 years ago
tip:
/cvsroot/mozilla/security/nss/lib/cryptohi/seckey.c,v  <--  seckey.c
new revision: 1.40; previous revision: 1.39

3.11 branch:
/cvsroot/mozilla/security/nss/lib/cryptohi/seckey.c,v  <--  seckey.c
new revision: 1.36.2.4; previous revision: 1.36.2.3
Status: ASSIGNED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
CID 302
Whiteboard: CID 302

Comment 5

10 years ago
should this fix get picked up for the 2.0.0.4 firefox release?
Flags: blocking1.8.1.4?
Flags: blocking1.8.1.4?
Keywords: fixed1.8.0.10, fixed1.8.1.1
Group: security
Crash Signature: [@ SECKEY_CopyPublicKey]
You need to log in before you can comment on or make changes to this bug.