-
Notifications
You must be signed in to change notification settings - Fork 679
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
dynamic-stack-buffer-overflow in jerry_value_is_syntax_error #2094
Comments
I'll check it. |
rerobika
added a commit
to rerobika/jerryscript
that referenced
this issue
Nov 14, 2017
Fixes issue jerryscript-project#2094, which introduced an error caused by jerry_value_is_syntax_error. The problem was that the function used strcmp instead of strncmp while checking if err_str_buf contains syntax error and it caused buffer overflow. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
rerobika
added a commit
to rerobika/jerryscript
that referenced
this issue
Nov 14, 2017
Fixes issue jerryscript-project#2094, which introduced an error caused by jerry_value_is_syntax_error. The problem was that the function used strcmp instead of strncmp while checking if err_str_buf contains syntax error and it caused buffer overflow. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
rerobika
added a commit
to rerobika/jerryscript
that referenced
this issue
Nov 15, 2017
Fixes issue jerryscript-project#2094, which introduced an error caused by jerry_value_is_syntax_error. The problem was that the function used strcmp instead of strncmp while checking if err_str_buf contains syntax error and it caused buffer overflow. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
rerobika
added a commit
to rerobika/jerryscript
that referenced
this issue
Nov 16, 2017
Fixes issue jerryscript-project#2094, which introduced an error caused by jerry_value_is_syntax_error. The problem was that the function used strcmp instead of strncmp while checking if err_str_buf contains syntax error and it caused buffer overflow. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
rerobika
added a commit
to rerobika/jerryscript
that referenced
this issue
Nov 17, 2017
Fixes issue jerryscript-project#2094, which introduced an error caused by jerry_value_is_syntax_error. The problem was that the function used strcmp instead of strncmp while checking if err_str_buf contains syntax error and it caused buffer overflow. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
LaszloLango
pushed a commit
that referenced
this issue
Nov 17, 2017
…2095) Fixes issue #2094, which introduced an error caused by jerry_value_is_syntax_error. The problem was that the function used strcmp instead of strncmp while checking if err_str_buf contains syntax error and it caused buffer overflow. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
#2095 is landed. This issue can be closed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Jerry version:
OS:
Test case:
It seems that jerry produces the same failure with any kind of syntax errors when compiling it with clang. E.g.:
Backtrace:
Found by Fuzzinator with grammarinator.
The text was updated successfully, but these errors were encountered: