chakra-core / chakra-core/ChakraCore

Assertion failure in Backend/ValueInfo.cpp

Open
#6,778 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

the following poc cause a assertion failure in "debug" build on ubuntu.

```
function main() {
do {
let v4 = 0;
const v6 = `
for (let v12 = 1; v12 < -1683432796; v12 = v12 || 1) {
}
`;
const v23 = eval(v6);
for (let v26 = 0; v26 != 9; v26++) {
switch (v4) {
case -3290630866:
break;
case v26:
break;
case -3290630866:
}
}

} while (0 !== 6);

}
main();
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.