Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bc694648f3d7bfd0902ba2d52be68c534c82b531
      
https://github.com/WebKit/WebKit/commit/bc694648f3d7bfd0902ba2d52be68c534c82b531
  Author: Yusuke Suzuki <[email protected]>
  Date:   2023-03-06 (Mon, 06 Mar 2023)

  Changed paths:
    A JSTests/wasm/stress/wasm-tag-constructor-exception.js
    M Source/JavaScriptCore/wasm/js/WebAssemblyTagConstructor.cpp

  Log Message:
  -----------
  [JSC] Add missing exception check for WebAssembly.Tag constructor
https://bugs.webkit.org/show_bug.cgi?id=252476
rdar://105593697

Reviewed by Justin Michaud.

Add a missing check. This causes crash with deterministic nullptr dereference 
(so, not a security issue).

* JSTests/wasm/stress/wasm-tag-constructor-exception.js: Added.
(f3):
* Source/JavaScriptCore/wasm/js/WebAssemblyTagConstructor.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to