nsOverflowContinuationTracker::Finish doesn't maintain consistent preconditions for mOverflowContList

NEW
Unassigned

Status

()

8 years ago
4 months ago

People

(Reporter: timeless, Unassigned)

Tracking

(Blocks: 1 bug, {coverity})

Trunk
x86
Windows 7
coverity
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
1483 nsOverflowContinuationTracker::Finish(nsIFrame* aChild)
1489   for (nsIFrame* f = aChild; f; f = f->GetNextInFlow()) {

null check of mOverflowContList:
1492     if (mOverflowContList &&
1493         mOverflowContList->FirstChild() == f->GetNextInFlow() &&
1500     }
1501     if (f == mSentry) {
1504       StepForward();

1381 nsOverflowContinuationTracker::StepForward()
1383   NS_PRECONDITION(mOverflowContList, "null list");
Blocks: 1230156
You need to log in before you can comment on or make changes to this bug.