Closed Bug 469578 Opened 16 years ago Closed 15 years ago

Coverity: uninitialized variable used in SECU_PrintName

Categories

(NSS :: Tools, defect, P2)

3.12
defect

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;
Keywords: coverity
Summary: Coverity: uninitialized variable used in cert_ProcessOCSPResponse → Coverity: uninitialized variable used in SECU_PrintName
Priority: -- → P2
Target Milestone: 3.12.3 → 3.12.5
Assignee: nelson → nobody
Target Milestone: 3.12.5 → ---
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.