Closed Bug 336934 Opened 20 years ago Closed 20 years ago

Coverity 173, dead code in mozilla/security/nss/lib/softoken/pkcs11c.c

Categories

(NSS :: Libraries, defect, P3)

3.11
All
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED
3.11.2

People

(Reporter: jonsmirl, Assigned: wtc)

Details

(Keywords: coverity)

Attachments

(1 file, 1 obsolete file)

The variable ck_id is not used and can be removed. diff -r1.68 pkcs11c.c 3992d3991 < SECItem *ck_id = NULL; 4200,4203d4198 < if(ck_id) { < SECITEM_ZfreeItem(ck_id, PR_TRUE); < } <
Hardware: PC → All
Target Milestone: --- → 3.11.2
Version: unspecified → 3.11
Severity: normal → trivial
Priority: -- → P3
Attachment #221122 - Flags: review?(wtchang)
Attachment #221122 - Attachment is obsolete: true
Attachment #221769 - Flags: review?(wtchang)
Attachment #221122 - Flags: review?(wtchang)
Comment on attachment 221769 [details] [diff] [review] Unified diff, patch is the same r=nelson Wtchang is on another project right now, so in the interest of expedience, please ask me or alexei.volkov.bugs for reviews.
Attachment #221769 - Flags: review?(wtchang) → review+
I checked in the patch on the NSS trunk (NSS 3.12) and NSS_3_11_BRANCH (NSS 3.11.2).
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Assignee: nobody → wtchang
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: