Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8b609688f1de53d52ac6cfc36de3bfd4b56c18ed
      
https://github.com/WebKit/WebKit/commit/8b609688f1de53d52ac6cfc36de3bfd4b56c18ed
  Author: Yijia Huang <[email protected]>
  Date:   2023-04-10 (Mon, 10 Apr 2023)

  Changed paths:
    M Source/JavaScriptCore/runtime/ModuleProgramExecutable.cpp
    M Source/JavaScriptCore/runtime/ModuleProgramExecutable.h
    M Source/JavaScriptCore/runtime/ScriptExecutable.cpp

  Log Message:
  -----------
  Add missing exception check in ScriptExecutable::newCodeBlockFor
https://bugs.webkit.org/show_bug.cgi?id=255259
rdar://107856292

Reviewed by Mark Lam and Yusuke Suzuki.

ModuleProgramExecutable::getUnlinkedCodeBlock can throw runtime errors.
We should handle those.

* Source/JavaScriptCore/runtime/ScriptExecutable.cpp:
(JSC::ScriptExecutable::newCodeBlockFor):

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


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

Reply via email to