Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault in jerry #5057

Open
marckwei opened this issue Mar 27, 2023 · 1 comment
Open

Segmentation fault in jerry #5057

marckwei opened this issue Mar 27, 2023 · 1 comment

Comments

@marckwei
Copy link

First of all, when reporting a bug, give the issue a descriptive title.

In the body of the issue, optionally give a free-form text description of the
bug. Give the context necessary for others to understand the problem.

Then, provide information necessary to reproduce the bug.
Omit sections that are irrelevant for the bug report, but note that information
like git revision, build platform, build command, and test case are required in
almost all cases.

JerryScript revision

1a2c047

Build platform

Ubuntu 20.04.2 LTS (Linux 5.15.0-67-generic x86_64)

Build steps

./tools/build.py

Test case
var p = new Promise(function(resolve,reject){})
var f = async(p) =>{}

await p;

f(p).then(function(){})
Execution platform

same as the build platform.

Execution steps
build/bin/jerry testcase.js
Output

Sometimes throws syntax errors: Unhandled exception: SyntaxError
Most of the time jerry crashes: Segmentation fault (core dumped)

Backtrace
Expected behavior

not to crash

@carnil
Copy link

carnil commented Apr 26, 2023

CVE-2023-30408 was assigned for this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants