-
Notifications
You must be signed in to change notification settings - Fork 683
fix heap-buffer-overflow in lexer_compare_identifier_to_char #5228
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a newline at the end, please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
8ad0e4f
to
e5c9b08
Compare
JerryScript-DCO-1.0-Signed-off-by: tangbin 2387440390@qq.com
e5c9b08
to
57bb21b
Compare
You only a need another approve
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
We try to fix these fails, the riot one is updated here: #5231
You can help us if you have time.
Uh oh!
There was an error while loading. Please reload this page.
This patch fixes #5066
There is a problem there. When size is passed to 0 in lexer_compare_identifier_to_char, because of do while(size > 0) and the size type is uint, it will cause an unexpected loop and result in heap overflow