[webkit-changes] [WebKit/WebKit] aa5966: [JSC] Check JSManagedValue::m_lock
Yusuke Suzuki
noreply at github.com
Fri Feb 16 01:56:50 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: aa59663cc33a9428f15b67143300eeff73572789
https://github.com/WebKit/WebKit/commit/aa59663cc33a9428f15b67143300eeff73572789
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2024-02-16 (Fri, 16 Feb 2024)
Changed paths:
M Source/JavaScriptCore/API/JSManagedValue.mm
Log Message:
-----------
[JSC] Check JSManagedValue::m_lock
https://bugs.webkit.org/show_bug.cgi?id=269536
rdar://122594166
Reviewed by Justin Michaud.
JSManagedValue does not set m_lock to non-null when coming Value* was nil.
We just check it in [JSManagedValue value] and return nil if m_lock is nullptr.
* Source/JavaScriptCore/API/JSManagedValue.mm:
(-[JSManagedValue value]):
Canonical link: https://commits.webkit.org/274809@main
More information about the webkit-changes
mailing list