Closed Bug 216736 Opened 21 years ago Closed 21 years ago

regression from patch for bug 86947

Categories

(Core :: Layout: Block and Inline, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.5beta

People

(Reporter: darin.moz, Assigned: darin.moz)

References

Details

(Keywords: fixed1.4.1)

Attachments

(2 files)

3862 dbaron       3.464       nsLineBox* next = aLine.next();
3863 kipp         3.193       if ((nsnull != next) && !next->IsBlock()) {
3864                            next->MarkDirty();

here, |next| will never be null.  we need to compare next against end_lines()
instead.
Attached patch v1 patchSplinter Review
this patch includes a slight tweak to one of the assertions as well.
Attachment #130107 - Flags: superreview?(dbaron)
Attachment #130107 - Flags: review?(dbaron)
Blocks: 175896
i forgot to mention that we currently hit this assertion in debug builds:

  NS_ASSERTION(mCurrent != mListLink, "running past end");

from nsLineBox.h:559
Status: NEW → ASSIGNED
Flags: blocking1.5b?
Target Milestone: --- → mozilla1.5beta
Attachment #130107 - Flags: superreview?(dbaron)
Attachment #130107 - Flags: superreview+
Attachment #130107 - Flags: review?(dbaron)
Attachment #130107 - Flags: review+
Attachment #130107 - Flags: approval1.5b?
Comment on attachment 130107 [details] [diff] [review]
v1 patch

approved for 1.5b.

/be
Attachment #130107 - Flags: approval1.5b? → approval1.5b+
Should this go into the 1.4.x branch too?  Please nominate the patch if so.

/be
fixed-on-trunk
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Flags: blocking1.5b?
Comment on attachment 130107 [details] [diff] [review]
v1 patch

This is not going to make 1.4.1.  Please re-request aproval after 1.4.1 ships
if you'd like to get this in for 1.4.2.
Attachment #130107 - Flags: approval1.4.x? → approval1.4.x-
Comment on attachment 130107 [details] [diff] [review]
v1 patch

low risk crash fix. approved for 1.4.1.
Attachment #130107 - Flags: approval1.4.x- → approval1.4.x+
fixed1.4.1
Keywords: fixed1.4.1
I just noticed the problematic pattern occured in two places and this patch only
fixed one of them.
Attachment #131538 - Flags: superreview?(roc)
Attachment #131538 - Flags: superreview+
Attachment #131538 - Flags: review?(roc)
Attachment #131538 - Flags: review+
Comment on attachment 131538 [details] [diff] [review]
additional patch

Checked in 2003-09-16 15:09 -0700.
Blocks: 224532
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: