Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 92935b22b9a62f75340d6470a7e47461e0b3c508
      
https://github.com/WebKit/WebKit/commit/92935b22b9a62f75340d6470a7e47461e0b3c508
  Author: Sosuke Suzuki <[email protected]>
  Date:   2025-09-15 (Mon, 15 Sep 2025)

  Changed paths:
    M Source/JavaScriptCore/interpreter/CachedCall.h
    M Source/JavaScriptCore/runtime/CallData.cpp

  Log Message:
  -----------
  [JSC] Assert that values are not empty in call and callWithArguments arguments
https://bugs.webkit.org/show_bug.cgi?id=298842

Reviewed by Justin Michaud.

Passing empty JSValues to `JSC::call` and `cachedCall->callWithArguments` 
sometimes causes crashes.
This patch adds assertions to verify that all arguments are not empty.

* Source/JavaScriptCore/interpreter/CachedCall.h:
(JSC::CachedCall::callWithArguments):
* Source/JavaScriptCore/runtime/CallData.cpp:
(JSC::call):

Canonical link: https://commits.webkit.org/300003@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to