diff options
author | ethannicholas <ethannicholas@google.com> | 2016-10-27 10:54:02 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-27 10:54:02 -0700 |
commit | cad6416ccbf103648874b0f5fb615ec5ac798f14 (patch) | |
tree | 207d821d33a85111bfcd8303a9843cf532deb6c9 /tests/MessageBusTest.cpp | |
parent | 18fa6421e9cb7ac2ea6b1a97112a115d6643c0fc (diff) |
Added skslc parse recursion limit
The fuzzer discovered that a long chain of left-parentheses would cause a stack overflow due to excessive recursion. While it is not in general possible to guarantee that we do not exceed stack limits (because the system can be configured with an arbitrarily small stack), setting a reasonable recursion limit will at least keep the fuzzer from continually finding more "bugs" like this.
BUG=skia:5899
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2459573003
Review-Url: https://codereview.chromium.org/2459573003
Diffstat (limited to 'tests/MessageBusTest.cpp')
0 files changed, 0 insertions, 0 deletions