RESOLVED FIXED Bug 84104
Crash in invalid index for _textMarkerForIndex
https://bugs.webkit.org/show_bug.cgi?id=84104
Summary Crash in invalid index for _textMarkerForIndex
chris fleizach
Reported 2012-04-16 17:20:19 PDT
if you pass in an invalid index, you can crash or assert Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 com.apple.WebCore 0x000000010fb05771 WebCore::RangeBoundaryPoint::toPosition() const + 17 1 com.apple.WebCore 0x00000001103b6f8b -[WebAccessibilityObjectWrapper _textMarkerForIndex:] + 91 2 com.apple.WebCore 0x00000001103b8502 -[WebAccessibilityObjectWrapper accessibilityAttributeValue:forParameter:] + 5042 3 com.apple.AppKit 0x000000010611db36 CopyParameterizedAttributeValue + 328 4 com.apple.HIServices 0x00000001094114c9 _AXXMIGCopyParameterizedAttributeValue + 265 5 com.apple.HIServices 0x000000010941b0b2 _XCopyParameterizedAttributeValue + 576
Attachments
patch (3.99 KB, patch)
2012-04-16 23:00 PDT, chris fleizach
no flags
chris fleizach
Comment 1 2012-04-16 17:21:07 PDT
chris fleizach
Comment 2 2012-04-16 23:00:23 PDT
WebKit Review Bot
Comment 3 2012-04-17 12:48:32 PDT
Comment on attachment 137482 [details] patch Clearing flags on attachment: 137482 Committed r114418: <http://trac.webkit.org/changeset/114418>
WebKit Review Bot
Comment 4 2012-04-17 12:48:36 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.