Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 138f2bcd7d8bf9f912e746cc1ac9d1761402fcb8
      
https://github.com/WebKit/WebKit/commit/138f2bcd7d8bf9f912e746cc1ac9d1761402fcb8
  Author: Zak Ridouh <[email protected]>
  Date:   2025-03-13 (Thu, 13 Mar 2025)

  Changed paths:
    A LayoutTests/fast/xpath/substring-overflow-expected.txt
    A LayoutTests/fast/xpath/substring-overflow.html
    M Source/WebCore/xml/XPathFunctions.cpp

  Log Message:
  -----------
  Handle overflow, underflow in XPath substring position, length
https://bugs.webkit.org/show_bug.cgi?id=256769
<rdar://109624368>

Reviewed by Alexey Proskuryakov.

Handle overflow, underflow in XPath substring position, length.

Add LayoutTests/fast/xpath/substring-overflow.html to verify
functionality.

Merge chromium commit: 
https://chromium.googlesource.com/chromium/src.git/+/047653201597a4e5c3912d8c2c35adaa2ed6e6ec

* LayoutTests/fast/xpath/substring-overflow-expected.txt: Added.
* LayoutTests/fast/xpath/substring-overflow.html: Added.
* Source/WebCore/xml/XPathFunctions.cpp:
(WebCore::XPath::computeSubstringStartEnd):
(WebCore::XPath::FunSubstring::evaluate const):

Canonical link: https://commits.webkit.org/292121@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to