Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • 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
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • compiler
  • translator
  • Compiler.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Fix stack overflow when parsing huge expressions. · d0c82d5e
    Jamie Madill authored Mar 21, 2014
    The expression limit validation check needs to be in front
    of other tree traversal to prevent stack overflows. Also,
    call depths of sufficient size (80k+) could overflow the
    depth check itself, necessitating an upper bound on initial
    tree traversal.
    
    This fixes crashes in the WebGL long-expressions bug test.
    
    BUG=angle:584
    
    Change-Id: Ib48294bf77a5923d230f237fbd63a36a5662e317
    Reviewed-on: https://chromium-review.googlesource.com/190051Reviewed-by: 's avatarZhenyao Mo <zmo@chromium.org>
    Reviewed-by: 's avatarNicolas Capens <nicolascapens@chromium.org>
    Tested-by: 's avatarJamie Madill <jmadill@chromium.org>
    d0c82d5e
Compiler.cpp 15.3 KB
EditWeb IDE
×

Replace Compiler.cpp

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.