Closed Bug 460461 Opened 16 years ago Closed 16 years ago

Crash [@ ~UndisplayedNode() ] deleting mNext pointer of same type.

Categories

(Core :: Layout, defect)

defect
Not set
critical

Tracking

()

VERIFIED FIXED
mozilla1.9.1b2

People

(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)

Details

(Keywords: crash, testcase, Whiteboard: [sg:dos] too much stack recursion)

Crash Data

Attachments

(2 files)

Attached patch Patch rev. 1Splinter Review
This is just an inlined version of NS_CSS_DELETE_LIST_MEMBER.
Perhaps we should move that macro somewhere else so we can reuse it
in more places?  (I think we're going to need it in bug 460444 too.)
Attachment #343555 - Flags: superreview?(dbaron)
Attachment #343555 - Flags: review?(dbaron)
Whiteboard: [sg:nse dos] too much stack recursion
Comment on attachment 343555 [details] [diff] [review]
Patch rev. 1

>+    mNext = nsnull;

This line isn't really necessary, although I suppose it doesn't hurt.

r+sr=dbaron
Attachment #343555 - Flags: superreview?(dbaron)
Attachment #343555 - Flags: superreview+
Attachment #343555 - Flags: review?(dbaron)
Attachment #343555 - Flags: review+
> This line isn't really necessary

True, I removed it.

http://hg.mozilla.org/mozilla-central/rev/1b2dab16f5ab

I couldn't figure out a crash test that wouldn't take minutes to load,
so no test, sorry.

-> FIXED
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1b2
verified fixed using : Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b2pre) Gecko/20081118 Minefield/3.1b2pre and Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b2pre) Gecko/20081118 Minefield/3.1b2pre. The testcase does not crash for me.
Status: RESOLVED → VERIFIED
Do we want this on 1.9.0.x?
Flags: wanted1.9.0.x?
Whiteboard: [sg:nse dos] too much stack recursion → [sg:dos] too much stack recursion
Crash Signature: [@ ~UndisplayedNode() ]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: