Closed
Bug 1005375
Opened 11 years ago
Closed 11 years ago
Add an API that allows CryptoTasks to be created without being dispatched
Categories
(Core :: Security: PSM, defect)
Core
Security: PSM
Tracking
()
RESOLVED
FIXED
mozilla32
People
(Reporter: rbarnes, Assigned: rbarnes)
References
Details
Attachments
(1 file)
(deleted),
patch
|
keeler
:
review+
|
Details | Diff | Splinter Review |
Right now, if a CryptoTask is created, but its Dispatch method is never called, then the ReleaseNSSResources method will never be called, and it will hit an assertion in its destructor. We should have an API that allows subclasses or calling code to say create a CryptoTask, but then not call Dispatch (e.g., if there's an error in the construction).
Component: Security → Security: PSM
Blocks: 995385
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → rlb
Assignee | ||
Comment 1•11 years ago
|
||
* Add a Skip() method to skip running the actual task
* Add a comment noting at Dispatch() or Skip() must be called
Attachment #8416910 -
Flags: review?(dkeeler)
Comment on attachment 8416910 [details] [diff] [review]
bug-1005375.patch r=dkeeler
Review of attachment 8416910 [details] [diff] [review]:
-----------------------------------------------------------------
Ok - I think this will work. r=me.
Attachment #8416910 -
Flags: review?(dkeeler) → review+
Assignee | ||
Updated•11 years ago
|
Attachment #8416910 -
Attachment description: bug-1005375.patch → bug-1005375.patch r=dkeeler
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Updated•11 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 3•11 years ago
|
||
Clean try run covering:
* Bug 1005375
* Bug 995385
* Bug 998804
https://tbpl.mozilla.org/?tree=Try&rev=9e24926f0fe8
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 4•11 years ago
|
||
Keywords: checkin-needed
Comment 5•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
You need to log in
before you can comment on or make changes to this bug.
Description
•