Closed
Bug 427948
Opened 18 years ago
Closed 8 years ago
nsNSSSocketInfo is not thread safe
Categories
(Core :: Security: PSM, defect)
Core
Security: PSM
Tracking
()
RESOLVED
DUPLICATE
of bug 698243
People
(Reporter: KaiE, Unassigned)
References
(Depends on 1 open bug)
Details
(Whiteboard: [psm-backlog])
Class nsNSSSocketInfo is declared as threadsafe, but it's not!
It doesn't use any synchronization.
According to cvs history, the macro NS_IMPL_THREADSAFE has been used since revision 1 of file nsNSSIOLayer.cpp - it had state variables since day 1 - but it never used any locks.
That's bad. The situation has become more dangerous since we're using a separate thread for SSL activity.
But I guess that class had been accessed from multiple threads since day one, the original programmer must have had a reason to pick the threadsafe declaration...
| Reporter | ||
Comment 1•18 years ago
|
||
I had warned about this 6.5 years ago. Wow. I think it's now time to work on it :-/
Depends on: 101005
Comment 3•14 years ago
|
||
Releasing for now, but still on my radar. Any one feel free to take this.
Assignee: honzab.moz → nobody
Updated•10 years ago
|
Whiteboard: [psm-backlog]
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•