Jamie Madill 6654bc93f1 Fix stack overflow when parsing huge expressions.
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/191931
Reviewed-by: Zhenyao Mo <[email protected]>
Reviewed-by: Nicolas Capens <[email protected]>
Tested-by: Jamie Madill <[email protected]>
2014-03-31 16:03:05 +00:00
2014-03-25 16:59:18 +00:00
2014-02-20 14:17:23 +00:00
2013-09-24 15:13:04 -04:00

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Name: ANGLE
URL: https://code.google.com/p/angleproject/
Version: 2422
License: BSD
License File: LICENSE

Description:
ANGLE is a conformant implementation of the OpenGL ES 2.0
specification that is hardware‐accelerated via Direct3D.

S
Description
A conformant OpenGL ES implementation for Windows, Mac, Linux, iOS and Android.
Readme BSD-3-Clause
141 MiB
0 Stars 1 Watchers 0 Forks
Languages
C++ 87.2%
C 6.1%
Objective-C++ 2.5%
Python 2.2%
Metal 0.6%
Other 1.1%