Make nsTArrayHeader::sEmptyHdr const
Categories
(Core :: XPCOM, defect)
Tracking
()
People
(Reporter: q1, Assigned: froydnj)
References
Details
(Keywords: sec-want, Whiteboard: [post-critsmash-triage][adv-main82-])
Attachments
(3 files)
Updated•10 years ago
|
| Assignee | ||
Comment 2•9 years ago
|
||
| Assignee | ||
Comment 5•6 years ago
|
||
We fixed what I think is the lone instance of writing into the (empty)
header in SetLength because it was causing TSan violations, so we should
be clear to make this const. This change is not terribly effective on its
own (cf. the const_cast required to make this work at all), but in the
next patch, we can rig up sEmptyTArrayHeader to be surrounded with "guard
pages" and make rogue accesses off the array header a little more protected.
Updated•6 years ago
|
| Assignee | ||
Comment 6•6 years ago
|
||
Depends on D88657
| Assignee | ||
Comment 7•6 years ago
|
||
Depends on D88658
Comment 9•6 years ago
|
||
https://hg.mozilla.org/integration/autoland/rev/ac566cd8ff453656c996a3b792579e370a8b7a68
https://hg.mozilla.org/mozilla-central/rev/ac566cd8ff45
Updated•6 years ago
|
Updated•6 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 10•4 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:nika, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 11•4 years ago
|
||
Tom, why did you reopen this issue? If there's some remaining hardening that could be done here, perhaps you could file a new bug for it? Thanks.
Updated•4 years ago
|
Comment 12•4 years ago
|
||
We did not resolve this issue fully - we made the object const, but not read-only. I will open a new bug for that task.
Updated•4 years ago
|
Description
•