Closed Bug 353375 Opened 18 years ago Closed 18 years ago

Klocwork 76513 - Null ptr deref in nssCertificateList_DoCallback

Categories

(NSS :: Libraries, defect, P2)

3.11
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nelson, Assigned: alvolkov.bgs)

Details

(Keywords: klocwork)

Attachments

(1 file)

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.
Priority: -- → P2
Attached patch NULL deref fixSplinter Review
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+
/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
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Assignee: nobody → alexei.volkov.bugs
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: