Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: db97275cee41b6b9f14178e295d7243ecdfe257d
https://github.com/WebKit/WebKit/commit/db97275cee41b6b9f14178e295d7243ecdfe257d
Author: Shu-yu Guo <[email protected]>
Date: 2025-10-23 (Thu, 23 Oct 2025)
Changed paths:
A JSTests/stress/shared-array-buffer-large-maxbytelength.js
M Source/JavaScriptCore/runtime/ArrayBuffer.cpp
Log Message:
-----------
[JSC] Check SAB maxByteLength against MAX_ARRAY_BUFFER_SIZE
https://bugs.webkit.org/show_bug.cgi?id=301178
rdar://163099450
Reviewed by Yusuke Suzuki and Dan Hecht.
The SharedArrayBuffer constructor should be checking maxByteLength against
MAX_ARRAY_BUFFER_SIZE like the ArrayBuffer constructor.
Test: JSTests/stress/shared-array-buffer-large-maxbytelength.js
Canonical link: https://commits.webkit.org/302068@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications