Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3118ca3aba21cf20766aade82f62f7dfd789ef62
      
https://github.com/WebKit/WebKit/commit/3118ca3aba21cf20766aade82f62f7dfd789ef62
  Author: Sosuke Suzuki <[email protected]>
  Date:   2026-03-15 (Sun, 15 Mar 2026)

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

  Log Message:
  -----------
  [JSC] Fix null deref in Wasm operationAllocateResultsArray on OOM
https://bugs.webkit.org/show_bug.cgi?id=309995

Reviewed by Yusuke Suzuki.

When JSArray::tryCreateUninitializedRestricted fails due to OOM,
throwOutOfMemoryError is called but we fall through and dereference
the null result in result->initializeIndex() below.

* Source/JavaScriptCore/wasm/WasmOperations.cpp:
(JSC::Wasm::JSC_DEFINE_JIT_OPERATION):

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



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

Reply via email to