Closed Bug 353416 Opened 18 years ago Closed 18 years ago

Klocwork 76593 null ptr deref in nssCryptokiPrivateKey_SetCertificate

Categories

(NSS :: Libraries, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nelson, Assigned: alvolkov.bgs)

Details

(Keywords: klocwork)

Attachments

(1 file)

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.
Priority: -- → P2
Assignee: nobody → alexei.volkov.bugs
Status: NEW → ASSIGNED
Attachment #241211 - Flags: review?(nelson)
Comment on attachment 241211 [details] [diff] [review] return failure if function failed to create a RW session r=nelson
Attachment #241211 - Flags: review?(nelson) → review+
/cvsroot/mozilla/security/nss/lib/dev/ckhelper.c,v <-- ckhelper.c new revision: 1.35; previous revision: 1.34
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: