Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 49618d459473b107532d557c445665eac5d87ad9
      
https://github.com/WebKit/WebKit/commit/49618d459473b107532d557c445665eac5d87ad9
  Author: Mark Lam <[email protected]>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M Source/JavaScriptCore/jsc.cpp

  Log Message:
  -----------
  Make jsc shell's dumpException() resilient to OOME when preparing to dump the 
exception stack.
https://bugs.webkit.org/show_bug.cgi?id=263259
rdar://116740267

Reviewed by Alexey Shvayka.

Previously, it just crashes when it encounters an OOME while trying to dump the 
exception stack.
Now, it checks and skip the dump if there's not enough memory to handle it.

* Source/JavaScriptCore/jsc.cpp:
(dumpException):

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


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

Reply via email to