⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 90908 in webkit


Ignore:
Timestamp:
Jul 13, 2011, 5:54:52 AM (15 years ago)
Author:
Nikolas Zimmermann
Message:

2011-07-13 Nikolas Zimmermann <​nzimmermann@rim.com>

Regression: OOB read in svg text run
​https://bugs.webkit.org/show_bug.cgi?id=63627

Not reviewed.

Fixed last minute typo leading to assertions.

  • rendering/InlineTextBox.cpp: (WebCore::InlineTextBox::paintSelection):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r90904 r90908  
     12011-07-13  Nikolas Zimmermann  <nzimmermann@rim.com>
     2
     3        Regression: OOB read in svg text run
     4        https://bugs.webkit.org/show_bug.cgi?id=63627
     5
     6        Not reviewed.
     7
     8        Fixed last minute typo leading to assertions.
     9
     10        * rendering/InlineTextBox.cpp:
     11        (WebCore::InlineTextBox::paintSelection):
     12
    1132011-07-12  Andrey Kosyakov  <caseq@chromium.org>
    214
  • trunk/Source/WebCore/rendering/InlineTextBox.cpp

    r90901 r90908  
    818818    BufferForAppendingHyphen charactersWithHyphen;
    819819    bool respectHyphen = ePos == length && hasHyphen();
    820     TextRun textRun = constructTextRun(style, font, characters, length, textRenderer()->textLength() - length, respectHyphen ? &charactersWithHyphen : 0);
     820    TextRun textRun = constructTextRun(style, font, characters, length, textRenderer()->textLength() - m_start, respectHyphen ? &charactersWithHyphen : 0);
    821821    if (respectHyphen)
    822822        ePos = textRun.length();
Note: See TracChangeset for help on using the changeset viewer.