Closed
Bug 339914
Opened 19 years ago
Closed 19 years ago
Coverity leak in NSS_CMSEncoder_Start error paths
Categories
(NSS :: Libraries, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
3.11.2
People
(Reporter: nelson, Assigned: nelson)
Details
(Keywords: coverity, memory-leak, Whiteboard: CID 574)
Attachments
(1 file)
|
1.01 KB,
patch
|
alvolkov.bgs
:
review+
|
Details | Diff | Splinter Review |
Coverity CID 574
In function NSS_CMSEncoder_Start, after p7ecx is allocated,
if any of the cases in the switch return rv=SECFailure,
then the function will return without freeing p7ecx.
| Assignee | ||
Updated•19 years ago
|
Priority: -- → P2
Target Milestone: --- → 3.11.2
| Assignee | ||
Comment 1•19 years ago
|
||
Attachment #224827 -
Flags: review?(alexei.volkov.bugs)
Comment 2•19 years ago
|
||
Comment on attachment 224827 [details] [diff] [review]
patch v1
r=alexei
Attachment #224827 -
Flags: review?(alexei.volkov.bugs) → review+
| Assignee | ||
Comment 3•19 years ago
|
||
Fix leak in NSS_CMSEncoder_Start error path. Bug 339914. r=alexei.volkov
Checking in cmsencode.c; new revision: 1.5.28.1; previous revision: 1.5
Checking in cmsencode.c; new revision: 1.6; previous revision: 1.5
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•19 years ago
|
Whiteboard: CID 574
Updated•19 years ago
|
Summary: leak in NSS_CMSEncoder_Start error paths → Coverity leak in NSS_CMSEncoder_Start error paths
You need to log in
before you can comment on or make changes to this bug.
Description
•