Last Comment Bug 353416 - Klocwork 76593 null ptr deref in nssCryptokiPrivateKey_SetCertificate
: Klocwork 76593 null ptr deref in nssCryptokiPrivateKey_SetCertificate
Status: RESOLVED FIXED
: klocwork
Product: NSS
Classification: Components
Component: Libraries (show other bugs)
: trunk
: All All
: P2 normal (vote)
: 3.12
Assigned To: Alexei Volkov
:
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-09-19 16:26 PDT by Nelson Bolyard (seldom reads bugmail)
Modified: 2006-10-09 15:12 PDT (History)
1 user (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---


Attachments
return failure if function failed to create a RW session (1.04 KB, patch)
2006-10-04 13:36 PDT, Alexei Volkov
nelson: review+
Details | Diff | Splinter Review

Description Nelson Bolyard (seldom reads bugmail) 2006-09-19 16:26:39 PDT
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.
Comment 1 Alexei Volkov 2006-10-04 13:36:26 PDT
Created attachment 241211 [details] [diff] [review]
return failure if function failed to create a RW session
Comment 2 Nelson Bolyard (seldom reads bugmail) 2006-10-04 13:42:44 PDT
Comment on attachment 241211 [details] [diff] [review]
return failure if function failed to create a RW session

r=nelson
Comment 3 Alexei Volkov 2006-10-09 15:12:03 PDT
/cvsroot/mozilla/security/nss/lib/dev/ckhelper.c,v  <--  ckhelper.c
new revision: 1.35; previous revision: 1.34

Note You need to log in before you can comment on or make changes to this bug.