-
Notifications
You must be signed in to change notification settings - Fork 672
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
ubsan: jerryscript/jerry-core/vm/vm.c:3731:77: runtime error: left shift of 33554431 by 22 places cannot be represented in type 'int' #4703
Comments
A slightly different ub will be triggered in the same line with the following test case - 1 << 1 the undefined behavior:
|
batizdaniel
added a commit
to batizdaniel/jerryscript
that referenced
this issue
Dec 22, 2021
This patch fixes jerryscript-project#4703 JerryScript-DCO-1.0-Signed-off-by: Daniel Batiz daniel.batiz@h-lab.eu
batizdaniel
added a commit
to batizdaniel/jerryscript
that referenced
this issue
Dec 22, 2021
This patch fixes jerryscript-project#4703 JerryScript-DCO-1.0-Signed-off-by: Daniel Batiz daniel.batiz@h-lab.eu
batizdaniel
added a commit
to batizdaniel/jerryscript
that referenced
this issue
Dec 22, 2021
This patch fixes jerryscript-project#4703 This patch fixes jerryscript-project#4702 JerryScript-DCO-1.0-Signed-off-by: Daniel Batiz daniel.batiz@h-lab.eu
batizdaniel
added a commit
to batizdaniel/jerryscript
that referenced
this issue
Dec 22, 2021
This patch fixes jerryscript-project#4703 This patch fixes jerryscript-project#4702 JerryScript-DCO-1.0-Signed-off-by: Daniel Batiz daniel.batiz@h-lab.eu
batizdaniel
added a commit
to batizdaniel/jerryscript
that referenced
this issue
Dec 22, 2021
This patch fixes jerryscript-project#4703 This patch fixes jerryscript-project#4702 JerryScript-DCO-1.0-Signed-off-by: Daniel Batiz daniel.batiz@h-lab.eu
rerobika
pushed a commit
that referenced
this issue
Dec 23, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
JerryScript revision
ccc1525
Build platform
Ubuntu 20.04.1 LTS (Linux 5.4.0-74-generic x86_64)
Build steps
Test case
Output
Expected behavior
According to C99 standard (6.5.7/4):
The text was updated successfully, but these errors were encountered: