Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 28203b3714e55d06938915299f60e0e531fcb78e
https://github.com/WebKit/WebKit/commit/28203b3714e55d06938915299f60e0e531fcb78e
Author: Daniel Liu <[email protected]>
Date: 2025-08-14 (Thu, 14 Aug 2025)
Changed paths:
M JSTests/stress/regexp-duplicate-named-captures.js
M Source/JavaScriptCore/yarr/YarrPattern.cpp
Log Message:
-----------
Removing zero-quantified terms from m_forwardReferencesInLookbehind should
compare term
https://bugs.webkit.org/show_bug.cgi?id=294681
rdar://153521682
Reviewed by Yusuke Suzuki.
There are multiple paths which would allow us to put an element into
m_forwardReferencesInLookbehind; the previous condition checking for
forward references with a zero-repeat quantifier would sometimes get
out of sync with the elements being added, meaning that we would end
up with an incorrect vector state.
* Source/JavaScriptCore/yarr/YarrPattern.cpp:
(JSC::Yarr::YarrPatternConstructor::quantifyAtom):
* JSTests/stress/regexp-duplicate-named-captures.js:
Originally-landed-as: 289651.581@safari-7621-branch (b8b8e71e68fb).
rdar://157789441
Canonical link: https://commits.webkit.org/298728@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