Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6e20396fae8be933e13ffd02edbc90d1bd3d62a2
      
https://github.com/WebKit/WebKit/commit/6e20396fae8be933e13ffd02edbc90d1bd3d62a2
  Author: Michael Saboff <msab...@apple.com>
  Date:   2024-04-03 (Wed, 03 Apr 2024)

  Changed paths:
    M Source/JavaScriptCore/jsc.cpp

  Log Message:
  -----------
  [JSC] Crash On JSC when open dir as input file
https://bugs.webkit.org/show_bug.cgi?id=251420
rdar://104853422

Reviewed by Yusuke Suzuki.

Added code to check the type of filesystem object the JSC shell is trying to 
load via stat() and fstat().
We return an error message when thrying to open some non-file object.

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

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to