[webkit-changes] [WebKit/WebKit] 62317c: [WASM] Incorrect use of productOverflows in WASM G...

David Degazio noreply at github.com
Tue Jul 30 20:51:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 62317ccb3bf670d727320db79a71ba0eb2874242
      https://github.com/WebKit/WebKit/commit/62317ccb3bf670d727320db79a71ba0eb2874242
  Author: David Degazio <d_degazio at apple.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M Source/JavaScriptCore/wasm/WasmOperations.cpp
    M Source/JavaScriptCore/wasm/WasmOperationsInlines.h

  Log Message:
  -----------
  [WASM] Incorrect use of productOverflows in WASM GC operations
https://bugs.webkit.org/show_bug.cgi?id=277362
rdar://129830849

Reviewed by Yijia Huang and Yusuke Suzuki.

Fixes productOverflows() usage in some WASM GC array operations
to correctly pass two operands instead of the potentially already-
overflowing product.

* Source/JavaScriptCore/wasm/WasmOperations.cpp:
(JSC::Wasm::JSC_DEFINE_NOEXCEPT_JIT_OPERATION):
* Source/JavaScriptCore/wasm/WasmOperationsInlines.h:
(JSC::Wasm::arrayNew):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list