-
Notifications
You must be signed in to change notification settings - Fork 676
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
heap-buffer-overflow in ecma_get_typedarray_element #3129
Comments
cc @szilagyiadam . |
szilagyiadam
added a commit
to szilagyiadam/jerryscript
that referenced
this issue
Sep 24, 2019
Fixes jerryscript-project#3129 We need to check if we use the lastIndexOf method and if the second argument is a number, negative, and its absolute value is bigger than the length, then we should return with -1. JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi [email protected]
szilagyiadam
added a commit
to szilagyiadam/jerryscript
that referenced
this issue
Sep 24, 2019
Fixes jerryscript-project#3129 We need to check if we use the lastIndexOf method and if the second argument is a number, negative, and its absolute value is bigger than the length, then we should return with -1. JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi [email protected]
szilagyiadam
added a commit
to szilagyiadam/jerryscript
that referenced
this issue
Sep 25, 2019
Fixes jerryscript-project#3129 We need to check if we use the lastIndexOf method and if the second argument is a number, negative, and its absolute value is bigger than the length, then we should return with -1. JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi [email protected]
szilagyiadam
added a commit
to szilagyiadam/jerryscript
that referenced
this issue
Sep 26, 2019
Fixes jerryscript-project#3129 We need to check if we use the lastIndexOf method and if the second argument is a number, negative, and its absolute value is bigger than the length, then we should return with -1. JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi [email protected]
dbatyai
pushed a commit
that referenced
this issue
Sep 27, 2019
) Fixes #3129 We need to check if we use the lastIndexOf method and if the second argument is a number, negative, and its absolute value is bigger than the length, then we should return with -1. JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi [email protected]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Revision
c05686b
Build
./tools/build.py --clean --debug --compile-flag=-fsanitize=address
--compile-flag=-m32 --compile-flag=-fno-omit-frame-pointer
--compile-flag=-fno-common --compile-flag=-g
--strip=off --system-allocator=on --logging=on
--error-messages=on --profile=es2015-subset
OS
Linux 4.15.0-58-generic #64-Ubuntu x86_64 GNU/Linux
Test case
Backtrace
Run with
jerry poc.js
The text was updated successfully, but these errors were encountered: