Closed Bug 353423 Opened 18 years ago Closed 18 years ago

Klocwork bugs in nss/lib/pk11wrap/dev3hack.c

Categories

(NSS :: Libraries, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nelson, Assigned: alvolkov.bgs)

Details

(Keywords: klocwork)

Attachments

(1 file)

Klocwork ID 76908 File nss/lib/pk11wrap/dev3hack.c Function nssToken_CreateFromPK11SlotInfo Pointer 'rvToken->slot' returned from call to function 'nssSlot_CreateFromPK11SlotInfo' at line 199 may be NULL and will be dereferenced at line 200 and line 201. Klocwork ID 91119 file nss/lib/pk11wrap/dev3hack.c Function nssSession_ImportNSS3Session Pointer 'rvSession' returned from call to function 'nss_ZAlloc' at line 70 may be NULL and will be dereferenced at line 71.
Priority: -- → P2
Assignee: nobody → alexei.volkov.bugs
Status: NEW → ASSIGNED
Attachment #241208 - Flags: review?(nelson)
Comment on attachment 241208 [details] [diff] [review] check returned pointers value for NULL r=nelson
Attachment #241208 - Flags: review?(nelson) → review+
/cvsroot/mozilla/security/nss/lib/pk11wrap/dev3hack.c,v <-- dev3hack.c new revision: 1.22; previous revision: 1.21
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: