WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
266373
[JSC] Assertion in JSC::Yarr::Interpreter<unsigned char>::InputStream::uncheckInput called from backtrackPatternCasedCharacter
https://bugs.webkit.org/show_bug.cgi?id=266373
Summary
[JSC] Assertion in JSC::Yarr::Interpreter<unsigned char>::InputStream::unchec...
Michael Saboff
Reported
2023-12-13 14:41:02 PST
"Xbc".match(/(?<=(ab*?))c/i); Fails with a RELEASE_ASSERT at yarr/YarrInterpreter.cpp(403): 1 0x10a726ed8 WTFCrash 2 0x10ae3cdb4 JSC::IntlNumberFormat::initializeNumberFormat(JSC::JSGlobalObject*, JSC::JSValue, JSC::JSValue) 3 0x10cda7ebc JSC::Yarr::Interpreter<unsigned char>::InputStream::uncheckInput(unsigned int) 4 0x10cdaa524 JSC::Yarr::Interpreter<unsigned char>::backtrackPatternCasedCharacter(JSC::Yarr::ByteTerm&, JSC::Yarr::Interpreter<unsigned char>::DisjunctionContext*) 5 0x10cda5aec JSC::Yarr::Interpreter<unsigned char>::matchDisjunction(JSC::Yarr::ByteDisjunction*, JSC::Yarr::Interpreter<unsigned char>::DisjunctionContext*, bool) 6 0x10cd90114 JSC::Yarr::Interpreter<unsigned char>::interpret() 7 0x10cd8cd28 JSC::Yarr::interpret(JSC::Yarr::BytecodePattern*, WTF::StringView, unsigned int, unsigned int*) 8 0x10bbf51fc int JSC::RegExp::matchInline<WTF::Vector<int, 32ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>, (JSC::Yarr::MatchFrom)0>(JSC::JSGlobalObject*, JSC::VM&, WTF::String const&, unsigned int, WTF::Vector<int, 32ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&) 9 0x10bbb028c JSC::createRegExpMatchesArray(JSC::VM&, JSC::JSGlobalObject*, JSC::JSString*, WTF::String const&, JSC::RegExp*, unsigned int, JSC::MatchResult&) ...
Attachments
Add attachment
proposed patch, testcase, etc.
Michael Saboff
Comment 1
2023-12-13 14:43:16 PST
<
rdar://119187095
>
Michael Saboff
Comment 2
2023-12-13 14:48:06 PST
Pull request:
https://github.com/WebKit/WebKit/pull/21765
EWS
Comment 3
2023-12-14 07:53:49 PST
Committed
272039@main
(f59e18069da6): <
https://commits.webkit.org/272039@main
> Reviewed commits have been landed. Closing PR #21765 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug