The default bug view has changed. See this FAQ.

Klocwork 76513 - Null ptr deref in nssCertificateList_DoCallback

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})

3.11
3.12
klocwork

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

956 bytes, patch
Nelson Bolyard (seldom reads bugmail)
: review+
Details | Diff | Splinter Review
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.
Keywords: klocwork
(Reporter)

Updated

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

Comment 1

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

Comment 2

11 years ago
Comment on attachment 241216 [details] [diff] [review]
NULL deref fix

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

Comment 3

11 years ago
/cvsroot/mozilla/security/nss/lib/pki/certificate.c,v  <--  certificate.c
new revision: 1.61; previous revision: 1.60
Assignee: alexei.volkov.bugs → nobody
Status: ASSIGNED → NEW
(Assignee)

Updated

11 years ago
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
(Reporter)

Updated

11 years ago
Assignee: nobody → alexei.volkov.bugs
You need to log in before you can comment on or make changes to this bug.