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
  • intermediate.h
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Fix stack overflow when parsing huge expressions. · 6654bc93
    Jamie Madill authored Mar 26, 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/191931Reviewed-by: 's avatarZhenyao Mo <zmo@chromium.org>
    Reviewed-by: 's avatarNicolas Capens <nicolascapens@chromium.org>
    Tested-by: 's avatarJamie Madill <jmadill@chromium.org>
    6654bc93
intermediate.h 20.1 KB
EditWeb IDE
×

Replace intermediate.h

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.