Closed Bug 1297376 Opened 9 years ago Closed 9 years ago

Coverity issues in Snapshots 164888 and 164965

Categories

(NSS :: Libraries, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: franziskus, Assigned: franziskus)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

No description provided.
a couple of missing frees and and unused value.
Attachment #8783950 - Flags: review?(martin.thomson)
Comment on attachment 8783950 [details] [diff] [review] coverity2308.patch Review of attachment 8783950 [details] [diff] [review]: ----------------------------------------------------------------- ::: cmd/certutil/certutil.c @@ +213,5 @@ > spki->algorithm.parameters.data = NULL; > rv = SECOID_SetAlgorithmID(arena, &spki->algorithm, > SEC_OID_PKCS1_RSA_PSS_SIGNATURE, 0); > + if (rv != SECSuccess) { > + PORT_FreeArena(arena, PR_FALSE); I would have preferred to have this somewhere I can get context. It's a huge inconvenience reviewing code in splinter sometimes.
Attachment #8783950 - Flags: review?(martin.thomson) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.27
Sometimes I don't understand coverity. First it complains about leaking those values. Now it complains about freeing them. I'll have to have another look at this.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Can't find those issues anymore in coverity
Status: REOPENED → RESOLVED
Closed: 9 years ago9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: