Closed
Bug 987217
Opened 11 years ago
Closed 11 years ago
Small leak in nsCreateReqFromKeyPairs
Categories
(Core :: Security, defect)
Tracking
()
RESOLVED
FIXED
mozilla31
People
(Reporter: mccr8, Assigned: keeler)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
5.32 KB,
text/plain
|
Details | |
1.82 KB,
patch
|
cviecco
:
review+
|
Details | Diff | Splinter Review |
Using LeakSanitizer, I see a small leak in a stack where nsCrypto::GenerateCRMFRequest calls nsCreateReqFromKeyPairs. This shows up consistently in Mochitest-1. See the attachment for details.
![]() |
Assignee | |
Comment 1•11 years ago
|
||
Thanks for finding this, Andrew. Just to check, does this patch fix the leak for you?
Assignee: nobody → dkeeler
Status: NEW → ASSIGNED
Attachment #8395896 -
Flags: review?(cviecco)
Flags: needinfo?(continuation)
Comment 2•11 years ago
|
||
Comment on attachment 8395896 [details] [diff] [review]
patch
Review of attachment 8395896 [details] [diff] [review]:
-----------------------------------------------------------------
LGTM. We should probably file a bug to make SetCRMFRequest fail on error.
Attachment #8395896 -
Flags: review?(cviecco) → review+
![]() |
Assignee | |
Comment 4•11 years ago
|
||
(In reply to Camilo Viecco (:cviecco) from comment #2)
> LGTM. We should probably file a bug to make SetCRMFRequest fail on error.
I'm not sure what you mean - I'm pretty sure SetCRMFRequest is infallible as implemented.
![]() |
Assignee | |
Comment 5•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in
before you can comment on or make changes to this bug.
Description
•