The default bug view has changed. See this FAQ.

Klocwork 76593 null ptr deref in nssCryptokiPrivateKey_SetCertificate

RESOLVED FIXED in 3.12

Status

NSS
Libraries
P2
normal
RESOLVED FIXED
11 years ago
11 years ago

People

(Reporter: Nelson Bolyard (seldom reads bugmail), Assigned: Alexei Volkov)

Tracking

({klocwork})

trunk
3.12
klocwork

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

File nss/lib/dev/ckhelper.c
function nssCryptokiPrivateKey_SetCertificate

Pointer 'session' returned from call to function 'nssSlot_CreateSession' 
at line 712 may be NULL and may be dereferenced at line 717.
Keywords: klocwork
(Reporter)

Updated

11 years ago
Priority: -- → P2
(Assignee)

Comment 1

11 years ago
Created attachment 241211 [details] [diff] [review]
return failure if function failed to create a RW session
Assignee: nobody → alexei.volkov.bugs
Status: NEW → ASSIGNED
Attachment #241211 - Flags: review?(nelson)
(Reporter)

Comment 2

11 years ago
Comment on attachment 241211 [details] [diff] [review]
return failure if function failed to create a RW session

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

Comment 3

11 years ago
/cvsroot/mozilla/security/nss/lib/dev/ckhelper.c,v  <--  ckhelper.c
new revision: 1.35; previous revision: 1.34
Status: ASSIGNED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.