[webkit-changes] [WebKit/WebKit] 0ebea3: [WASM] Fix arrayNewElem with additional new elemen...

Yijia Huang noreply at github.com
Thu Sep 5 09:16:40 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0ebea356d54d0095cf0f0a03abd6badf5a0dfc42
      https://github.com/WebKit/WebKit/commit/0ebea356d54d0095cf0f0a03abd6badf5a0dfc42
  Author: Yijia Huang <yijia_huang at apple.com>
  Date:   2024-09-05 (Thu, 05 Sep 2024)

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

  Log Message:
  -----------
  [WASM] Fix arrayNewElem with additional new element size check
https://bugs.webkit.org/show_bug.cgi?id=279136
rdar://134712862

Reviewed by Yusuke Suzuki.

When creating a new element array, we should check the new element size
against the maximum array size.

* Source/JavaScriptCore/wasm/WasmOperationsInlines.h:
(JSC::Wasm::arrayNewElem):

Canonical link: https://commits.webkit.org/283214@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