PK11_InitPin sets slot->lastLoginCheck without holding a lock
Categories
(NSS :: Libraries, defect, P3)
Tracking
(nss 3.125)
| Tracking | Status | |
|---|---|---|
| nss | --- | 3.125 |
People
(Reporter: wtc, Assigned: leggert)
References
Details
Attachments
(2 files, 1 obsolete file)
Updated•20 years ago
|
Updated•11 years ago
|
Updated•3 years ago
|
Comment 1•3 years ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Updated•2 years ago
|
| Assignee | ||
Comment 2•4 months ago
|
||
PK11_IsLoggedIn reads slot->lastLoginCheck under PK11_EnterSlotMonitor, but
PK11_InitPin writes it in three places without holding the monitor, causing a
data race. Wrap all three writes with PK11_EnterSlotMonitor/PK11_ExitSlotMonitor.
| Assignee | ||
Comment 3•4 months ago
|
||
https://phabricator.services.mozilla.com/D300715 triggers this repeatably.
Pushed by jschanck@mozilla.com:
https://hg.mozilla.org/projects/nss/rev/a8286355abeb
PK11_InitPin sets slot->lastLoginCheck without holding the slot monitor r=jschanck,nss-reviewers
Updated•4 months ago
|
Comment 6•4 months ago
|
||
Comment 8•4 months ago
|
||
Comment 9•4 months ago
|
||
A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)
Updated•7 days ago
|
Description
•