Closed
Bug 482939
Opened 16 years ago
Closed 15 years ago
Need to use nsAutoMonitor::New/DestroyMonitor when using nsAutoMonitor to grab monitors
Categories
(Core :: Security: PSM, defect)
Tracking
()
RESOLVED
FIXED
mozilla2.0b8
People
(Reporter: roc, Assigned: roc)
Details
Attachments
(2 files)
3.48 KB,
patch
|
KaiE
:
review+
benjamin
:
approval2.0+
|
Details | Diff | Splinter Review |
970 bytes,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
Code under security/manager/ssl and security/manager/boot uses nsAutoMonitor to acquire and release PRMonitors, but uses PR_NewMonitor and PR_DestroyMonitor to create and destroy them. It should use nsAutoMonitor::NewMonitor and nsAutoMonitor::DestroyMonitor to avoid causing spurious "potential deadlock warnings". See bug 482938 for more information.
Attachment #367016 -
Flags: review?(kaie)
Assignee | ||
Updated•16 years ago
|
Assignee: kaie → roc
Assignee | ||
Comment 1•15 years ago
|
||
Kaie, how about a review here?
Assignee | ||
Updated•15 years ago
|
Whiteboard: [needs review]
Comment 2•15 years ago
|
||
Comment on attachment 367016 [details] [diff] [review]
fix
r=kaie
thanks for the patch!
We should do the same for nsClientAuthRemember.cpp
Attachment #367016 -
Flags: review?(kaie) → review+
Comment 3•15 years ago
|
||
Attachment #449725 -
Flags: review?(roc)
Updated•15 years ago
|
Whiteboard: [needs review]
Assignee | ||
Updated•15 years ago
|
Whiteboard: [needs landing]
Assignee | ||
Updated•15 years ago
|
Attachment #449725 -
Flags: review?(roc) → review+
Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
This needs approvals now.
Keywords: checkin-needed
Whiteboard: [needs landing]
Attachment #367016 -
Flags: approval2.0?
Attachment #449725 -
Flags: approval2.0?
Comment 5•15 years ago
|
||
Comment on attachment 367016 [details] [diff] [review]
fix
a=me for both
Attachment #367016 -
Flags: approval2.0? → approval2.0+
Updated•15 years ago
|
Keywords: checkin-needed
Updated•15 years ago
|
Attachment #449725 -
Flags: approval2.0?
Comment 6•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/e5d2c136dcda
http://hg.mozilla.org/mozilla-central/rev/5e08304cbc99
Status: NEW → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
You need to log in
before you can comment on or make changes to this bug.
Description
•