Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Contribute to GitLab
  • Sign in / Register
V
V8
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Linshizhi
  • V8
  • Repository

Switch branch/tag
  • v8
  • test
  • mjsunit
  • regress
  • regress-11115.js
Find file
BlameHistoryPermalink
  • Jakob Kummerow's avatar
    Fix rare stack overflow in instanceof · db5ede7f
    Jakob Kummerow authored Nov 17, 2020
    For a very particular special case (long "chains" of bound
    functions with an undefined @@hasInstance handler), evaluating
    the `instanceof` operator could lead to a very deep recursion.
    This patch adds a stack check to make sure we throw rather than
    crash on stack overflow.
    
    Bug: v8:11115
    Change-Id: I6bf941b9e75e9fe3a52112ade27388ac4fbbda2f
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2545624Reviewed-by: 's avatarShu-yu Guo <syg@chromium.org>
    Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#71335}
    db5ede7f
regress-11115.js 471 Bytes
EditWeb IDE

Replace regress-11115.js

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.