Hash :
e088af30
Author :
Date :
2024-03-28T15:30:59
Parsing very long array declarations crash Avoid stack overflow crash when parsing arrays with a huge number of dimensions. Limits the number of array dimensions to `mMaxExpressionComplexity` (typically 256). Use `YYABORT` to abort parsing. Bug: angleproject:8610 Change-Id: Icf3914871b167c820b84ae8f3acba80dbd698af3 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/5424330 Auto-Submit: Kimmo Kinnunen <kkinnunen@apple.com> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
{
"src/compiler/generate_parser_tools.py":
"6a34ad911710a45e5644e9f79dfd2ce5",
"src/compiler/translator/generate_parser.py":
"ad919972a040d9b3b4aa5dc547fadc75",
"src/compiler/translator/glslang.l":
"c47eb888a67462feb27aaab02414ae27",
"src/compiler/translator/glslang.y":
"2441bd917904b3911597c66e57e0ec0d",
"src/compiler/translator/glslang_lex_autogen.cpp":
"e9fa08ed8de9fd90b3c9243e1b80396a",
"src/compiler/translator/glslang_tab_autogen.cpp":
"927db5244b528a45016e9f67d8b5ccf4",
"src/compiler/translator/glslang_tab_autogen.h":
"028bdaebf359aefbcdaafae466993ebe",
"tools/flex-bison/linux/bison.sha1":
"dfc9209e0c76eddd9bed0601c6c189e5",
"tools/flex-bison/linux/flex.sha1":
"621fc8947f2114812fb7a2c9df71bdcf",
"tools/flex-bison/windows/bison.exe.sha1":
"fd6d2461a2c256179faca7f5f142e689",
"tools/flex-bison/windows/flex.exe.sha1":
"c0213d97938af52cc29960381c77e608",
"tools/flex-bison/windows/m4.exe.sha1":
"98b1183972580437dffe690b29915c09",
"tools/flex-bison/windows/msys-2.0.dll.sha1":
"8f76dc025488db997861057d7283ce20",
"tools/flex-bison/windows/msys-iconv-2.dll.sha1":
"3892b2095dbfca5a71a30ffc7c895dad",
"tools/flex-bison/windows/msys-intl-8.dll.sha1":
"ff2f3d05584d43fbd77d6251988b83ac"
}