Closed
Bug 287504
Opened 20 years ago
Closed 20 years ago
null pointer dereference [@ nsCSSCompressedDataBlock::MapRuleInfoInto]
Categories
(Core :: CSS Parsing and Computation, defect, P2)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla1.8beta2
People
(Reporter: dbaron, Assigned: dbaron)
Details
(Keywords: crash, topcrash, Whiteboard: [patch])
Crash Data
Attachments
(1 file)
2.22 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
There are null pointer dereferences showing up in talkback as
nsCSSCompressedDataBlock::MapRuleInfoInto where the problem is that the
nsCSSCompressedDataBlock in question is null, and it's called from
CSSImportantRule::MapRuleInfoInto. This bug covers ONLY THOSE CRASHES.
I've been thinking about why this could happen. The only possibility I've found
so far is that on some out-of-memory cases we'll leave a changed style rule
present even though they're supposed to be immutable. In these cases, it might
still have an important rule even though it's no longer supposed to.
Assignee | ||
Updated•20 years ago
|
Assignee | ||
Comment 1•20 years ago
|
||
This also has a little cleanup of GetImportantRule, such that it would also fix
the crash if there were a logic problem that would cause the assertion that I
added to fire.
Attachment #178447 -
Flags: superreview?(bzbarsky)
Attachment #178447 -
Flags: review?(bzbarsky)
Assignee | ||
Updated•20 years ago
|
Whiteboard: [patch]
![]() |
||
Comment 2•20 years ago
|
||
Comment on attachment 178447 [details] [diff] [review]
null check for potential OOM crasher
r+sr=bzbarsky
Attachment #178447 -
Flags: superreview?(bzbarsky)
Attachment #178447 -
Flags: superreview+
Attachment #178447 -
Flags: review?(bzbarsky)
Attachment #178447 -
Flags: review+
Assignee | ||
Comment 3•20 years ago
|
||
Checked in 2005-03-24 20:09 -0800. Optimistically marking fixed.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Crash Signature: [@ nsCSSCompressedDataBlock::MapRuleInfoInto]
You need to log in
before you can comment on or make changes to this bug.
Description
•