Closed Bug 620402 Opened 15 years ago Closed 15 years ago

crash [@ gfxTextRun::BreakAndMeasureText] if haveHyphenation && !aProvider

Categories

(Core :: Graphics, defect)

defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla2.0b9

People

(Reporter: timeless, Assigned: timeless)

References

(Blocks 1 open bug)

Details

(Keywords: coverity, crash)

Crash Data

Attachments

(1 file)

3568 gfxTextRun::BreakAndMeasureText(PRUint32 aStart, PRUint32 aMaxLength, 3580 { 3583 NS_ASSERTION(aStart + aMaxLength <= mCharacterCount, "Substring out of range"); null check: 3588 PRBool haveSpacing = aProvider && (mFlags & gfxTextRunFactory::TEXT_ENABLE_SPACING) != 0; 3589 if (haveSpacing) { 3590 GetAdjustedSpacing(this, bufferStart, bufferStart + bufferLength, aProvider, 3591 spacingBuffer); 3592 } 3593 PRPackedBool hyphenBuffer[MEASUREMENT_BUFFER_SIZE]; 3594 PRBool haveHyphenation = (mFlags & gfxTextRunFactory::TEXT_ENABLE_HYPHEN_BREAKS) != 0; 3595 if (haveHyphenation) { no null check: 3596 aProvider->GetHyphenationBreaks(bufferStart, bufferLength, 3597 hyphenBuffer);
Attached patch patchSplinter Review
Assignee: nobody → timeless
Status: NEW → ASSIGNED
Attachment #498888 - Flags: review?(roc)
Attachment #498888 - Flags: approval2.0?
Attachment #498888 - Flags: review?(roc)
Attachment #498888 - Flags: review+
Attachment #498888 - Flags: approval2.0?
Attachment #498888 - Flags: approval2.0+
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Flags: in-testsuite-
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b9
Crash Signature: [@ gfxTextRun::BreakAndMeasureText]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: