Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 0815b27e11c0a0b71f360655fad0233268d91f7a https://github.com/WebKit/WebKit/commit/0815b27e11c0a0b71f360655fad0233268d91f7a Author: Shu-yu Guo <s...@apple.com> Date: 2025-09-15 (Mon, 15 Sep 2025)
Changed paths: M Source/JavaScriptCore/runtime/IntlSegmenter.cpp Log Message: ----------- [JSC] Check for exception in IntlSegmenter https://bugs.webkit.org/show_bug.cgi?id=298912 rdar://160595178 Reviewed by Yusuke Suzuki. The call to jsSubstring can return nullptr on exception in IntlSegmenter::createSegmentDataObject, which is currently not being checked. With the addition of DECLARE_THROW_SCOPE in createSegmentDataObject, the exception checks are covered by the existing stress/intl-segmenter.js test. Canonical link: https://commits.webkit.org/300005@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes