Closed
Bug 469578
Opened 16 years ago
Closed 15 years ago
Coverity: uninitialized variable used in SECU_PrintName
Categories
(NSS :: Tools, defect, P2)
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 488550
People
(Reporter: nelson, Unassigned)
Details
(Keywords: coverity)
Coverity run 278, CID 1398
In file nss/cmd/lib/secutil.c, function SECU_PrintName, it is possible
to reach the last statement in the function:
PORT_Free(nameStr);
with nameStr uninitialized, unassigned.
Patch:
SECU_PrintName(FILE *out, CERTName *name, char *msg, int level)
{
- char *nameStr;
+ char *nameStr = NULL;
Reporter | ||
Updated•16 years ago
|
Summary: Coverity: uninitialized variable used in cert_ProcessOCSPResponse → Coverity: uninitialized variable used in SECU_PrintName
Reporter | ||
Updated•16 years ago
|
Priority: -- → P2
Target Milestone: 3.12.3 → 3.12.5
Reporter | ||
Updated•15 years ago
|
Assignee: nelson → nobody
Target Milestone: 3.12.5 → ---
Reporter | ||
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•