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


Attachments
NULL deref fix (956 bytes, patch)
2006-10-04 13:50 PDT, Alexei Volkov
nelson: review+
Details | Diff | Review

Description Nelson Bolyard (seldom reads bugmail) 2006-09-19 13:19:13 PDT
In file nss/lib/pki/certificate.c, in function nssCertificateList_DoCallback,
Pointer 'certs' returned from call to function 'nssList_CreateIterator' at line 942 may be NULL and will be dereferenced by passing argument 1 to function 'nssListIterator_Start' at line 943.
Comment 1 Alexei Volkov 2006-10-04 13:50:08 PDT
Created attachment 241216 [details] [diff] [review]
NULL deref fix
Comment 2 Nelson Bolyard (seldom reads bugmail) 2006-10-04 14:44:16 PDT
Comment on attachment 241216 [details] [diff] [review]
NULL deref fix

r=nelson
Comment 3 Alexei Volkov 2006-10-09 11:52:19 PDT
/cvsroot/mozilla/security/nss/lib/pki/certificate.c,v  <--  certificate.c
new revision: 1.61; previous revision: 1.60

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