Klocwork 76513 - Null ptr deref in nssCertificateList_DoCallback

RESOLVED FIXED in 3.12

Status

P2
normal
RESOLVED FIXED
13 years ago
13 years ago

People

(Reporter: nelson, Assigned: alvolkov.bgs)

Tracking

({klocwork})

3.11
3.12
klocwork

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

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

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

Comment 1

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

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

Comment 3

13 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

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

Updated

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