Closed Bug 341110 Opened 19 years ago Closed 19 years ago

Coverity 659 variable "class" used uninitialized in NSC_CreateObject

Categories

(NSS :: Libraries, defect)

3.11.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nelson, Assigned: alvolkov.bgs)

Details

(Keywords: coverity)

If the input template has no member of type CKA_CLASS, or if the value of that member has zero length, then varaible "class" is uninitialized when the code reaches this line: 4031 if ((class == CKO_NETSCAPE_NEWSLOT) || (class == CKO_NETSCAPE_DELSLOT)) {
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.