Status: Untriaged
Owner: ----
Priority: Medium
Type: Defect
New issue 8644 by msc...@
apple.com: Deeply nested iterator declarations can crash
https://bugs.chromium.org/p/angleproject/issues/detail?id=8644TEST_F(ParseTest, DeeplyNestedWhileExpressionsNoCrash)
{
mShaderSpec = SH_WEBGL2_SPEC;
std::ostringstream shader;
shader << R"(#version 300 es
int counter() {
)";
for (int i = 0; i < 1700; ++i)
{
shader << " while(true)";
}
shader << " ; return 0; }";
EXPECT_FALSE(compile(shader.str()));
EXPECT_TRUE(foundErrorInIntermediateTree());
EXPECT_TRUE(foundInIntermediateTree("expression is too deeply nested"));
}
--
You received this message because:
1. The project was configured to send all issue notifications to this address
You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings