Changeset 278398 in webkit
- Timestamp:
- Jun 3, 2021, 12:09:28 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/editing/pasteboard/select-all-link-cut-expected.txt (added)
-
LayoutTests/editing/pasteboard/select-all-link-cut.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/editing/cocoa/HTMLConverter.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r278391 r278398 1 2021-06-03 Julian Gonzalez <julian_a_gonzalez@apple.com> 2 3 Crash in HTMLConverter::_addLinkForElement() 4 https://bugs.webkit.org/show_bug.cgi?id=226398 5 6 Reviewed by Ryosuke Niwa. 7 8 Add a test for this crasher. 9 10 * editing/pasteboard/select-all-link-cut-expected.txt: Added. 11 * editing/pasteboard/select-all-link-cut.html: Added. 12 1 13 2021-06-02 Alex Christensen <achristensen@webkit.org> 2 14 -
trunk/Source/WebCore/ChangeLog
r278397 r278398 1 2021-06-03 Julian Gonzalez <julian_a_gonzalez@apple.com> 2 3 Crash in HTMLConverter::_addLinkForElement() 4 https://bugs.webkit.org/show_bug.cgi?id=226398 5 6 Reviewed by Ryosuke Niwa. 7 8 While traversing a node, exit an element with a startIndex 9 that is always inside the bounds of the attribute string. 10 11 Test: editing/pasteboard/select-all-link-cut.html 12 13 * editing/cocoa/HTMLConverter.mm: 14 (HTMLConverter::_traverseNode): 15 1 16 2021-06-02 Rob Buis <rbuis@igalia.com> 2 17 -
trunk/Source/WebCore/editing/cocoa/HTMLConverter.mm
r278185 r278398 2217 2217 } 2218 2218 } 2219 _exitElement(element, depth, st artIndex);2219 _exitElement(element, depth, std::min(startIndex, [_attrStr length])); 2220 2220 } 2221 2221 }
Note:
See TracChangeset
for help on using the changeset viewer.