Closed
Bug 385426
Opened 17 years ago
Closed 17 years ago
"ASSERTION: bad index" in nsTextFragment.h with right-to-left-override and soft-hyphen characters
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: jruderman, Assigned: roc)
References
Details
(Keywords: assertion, testcase, Whiteboard: [sg:moderate?])
Attachments
(2 files)
80 bytes,
text/html
|
Details | |
1.91 KB,
patch
|
smontagu
:
review+
|
Details | Diff | Splinter Review |
###!!! ASSERTION: bad index: 'PRUint32(aIndex) < mState.mLength', file /Users/jruderman/trunk/mozilla/layout/base/../../content/base/src/nsTextFragment.h, line 184
Reporter | ||
Updated•17 years ago
|
Whiteboard: [sg:moderate?]
Reporter | ||
Updated•17 years ago
|
Flags: blocking1.9?
Assignee | ||
Updated•17 years ago
|
Assignee: nobody → roc
Flags: blocking1.9? → blocking1.9+
Assignee | ||
Comment 1•17 years ago
|
||
Just need to bounds-check this. When all characters in the text frame have been discarded, the nsSkipCharsRunIterator gets positioned off at the first non-discarded character (or the end of the string), so the first skipped character before that position may not belong to this frame.
Attachment #278526 -
Flags: review?
Comment 2•17 years ago
|
||
Comment on attachment 278526 [details] [diff] [review] fix I assume this review request was intended for me :)
Attachment #278526 -
Flags: review? → review+
Assignee | ||
Comment 3•17 years ago
|
||
Checked in
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Flags: in-testsuite?
Comment 4•17 years ago
|
||
verified fixed using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b3pre) Gecko/2008011009 Firefox/3.0b3pre ID:2008011009 with the testcase from jesse.
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 5•16 years ago
|
||
I don't see any assertions on branch, so I'm making this bug report public.
Group: security
Flags: wanted1.8.1.x-
Component: Layout: BiDi Hebrew & Arabic → Layout: Text
QA Contact: layout.bidi → layout.fonts-and-text
You need to log in
before you can comment on or make changes to this bug.
Description
•