Closed
Bug 1259909
Opened 9 years ago
Closed 9 years ago
Obviate char PORT_Free() calls in PSM
Categories
(Core :: Security: PSM, defect)
Core
Security: PSM
Tracking
()
RESOLVED
FIXED
mozilla48
Tracking | Status | |
---|---|---|
firefox48 | --- | fixed |
People
(Reporter: Cykesiopka, Assigned: Cykesiopka)
Details
(Whiteboard: [psm-assigned])
Attachments
(1 file)
Smart pointers should be used to manage char* resources returned via NSS calls for better maintainability and robustness.
![]() |
Assignee | |
Updated•9 years ago
|
Summary: Obviate string PORT_Free() calls in PSM → Obviate char PORT_Free() calls in PSM
![]() |
Assignee | |
Comment 1•9 years ago
|
||
Also converts the longer |UniquePtr<char, void(&)(void*)> foo(..., PORT_Free)|
to the shorter and equivalent |UniquePORTString foo(...)|.
Review commit: https://reviewboard.mozilla.org/r/45207/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/45207/
Attachment #8739343 -
Flags: review?(dkeeler)
![]() |
||
Comment 2•9 years ago
|
||
Comment on attachment 8739343 [details]
MozReview Request: Bug 1259909 - Obviate char PORT_Free() calls in PSM. r=keeler
https://reviewboard.mozilla.org/r/45207/#review41791
Great - r=me.
Attachment #8739343 -
Flags: review?(dkeeler) → review+
![]() |
Assignee | |
Comment 3•9 years ago
|
||
Comment on attachment 8739343 [details]
MozReview Request: Bug 1259909 - Obviate char PORT_Free() calls in PSM. r=keeler
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/45207/diff/1-2/
Attachment #8739343 -
Attachment description: MozReview Request: Bug 1259909 - Obviate char PORT_Free() calls in PSM. → MozReview Request: Bug 1259909 - Obviate char PORT_Free() calls in PSM. r=keeler
![]() |
Assignee | |
Comment 4•9 years ago
|
||
Thanks!
https://treeherder.mozilla.org/#/jobs?repo=try&revision=3839aa7e3c741c683b6b854981cd0309fffe4cbe
Keywords: checkin-needed
Keywords: checkin-needed
Comment 6•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
You need to log in
before you can comment on or make changes to this bug.
Description
•