Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 85015722cb650d16b85f0010b9e8ccb910c02cd4
https://github.com/WebKit/WebKit/commit/85015722cb650d16b85f0010b9e8ccb910c02cd4
Author: Geoffrey Garen <[email protected]>
Date: 2026-05-14 (Thu, 14 May 2026)
Changed paths:
M Source/JavaScriptCore/llint/LLIntData.h
M Source/JavaScriptCore/runtime/JSLock.cpp
M Source/JavaScriptCore/runtime/VM.cpp
M Source/JavaScriptCore/tools/CharacterPropertyDataGenerator.cpp
M Source/JavaScriptCore/tools/FunctionOverrides.cpp
M Source/JavaScriptCore/wasm/js/WebAssemblySuspending.cpp
Log Message:
-----------
Fixed a stray -Wunsafe-buffer-usage pragma that accidentally disabled the
check
https://bugs.webkit.org/show_bug.cgi?id=314771
rdar://177022310
Reviewed by Chris Dumez.
* Source/JavaScriptCore/llint/LLIntData.h: Don't
WTF_ALLOW_UNSAFE_BUFFER_USAGE_BEGIN
because we're already in a WTF_ALLOW_UNSAFE_BUFFER_USAGE_BEGIN, and since
they're a
stack, being unbalanced will skip all warnings in the code that follows.
* Source/JavaScriptCore/runtime/JSLock.cpp: Skip enforcement for now because
this
code never conformed before.
* Source/JavaScriptCore/runtime/VM.cpp: Adopt dataLogLn to avoid
-Wunsafe-buffer-usage-in-format-attr-call now that the warning fires here.
* Source/JavaScriptCore/wasm/js/WebAssemblySuspending.cpp:
(JSC::runWebAssemblySuspendingFunction): Adopt unsafeMakeSpan because
NUMBER_OF_CALLEE_SAVES_REGISTERS matches the spirit of a "safe" unsafe
construction.
Canonical link: https://commits.webkit.org/313247@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications