Closed
Bug 1297376
Opened 9 years ago
Closed 9 years ago
Coverity issues in Snapshots 164888 and 164965
Categories
(NSS :: Libraries, defect)
NSS
Libraries
Tracking
(Not tracked)
RESOLVED
FIXED
3.27
People
(Reporter: franziskus, Assigned: franziskus)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
2.13 KB,
patch
|
mt
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Comment 1•9 years ago
|
||
a couple of missing frees and and unused value.
Attachment #8783950 -
Flags: review?(martin.thomson)
Comment 2•9 years ago
|
||
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+
| Assignee | ||
Comment 3•9 years ago
|
||
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.27
| Assignee | ||
Comment 4•9 years ago
|
||
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 → ---
| Assignee | ||
Comment 5•9 years ago
|
||
Can't find those issues anymore in coverity
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•