-
Notifications
You must be signed in to change notification settings - Fork 228
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 Double Free / Use-After-Free #144
Comments
A example of a Heap-Use-After-Free after the 'sublexer' pointer has been freed. Line 542 of gravity_lexer.c. 'lexer' is being used to access a variable but 'lexer' has already been freed, creating a Heap Use-After-Free condition.
|
Attached is a very strange testcase that triggers the Heap Use-After-Free / Double Free. |
Thanks @tylerp96, fixed by 5b73d29. |
My testcase did trigger a Use-After-Free condition though. Were you able to confirm this? |
Yes @tylerp96 I was able to reproduce and fix it. |
Okay awesome! Just making sure we were on the same page. Good deal! |
The text was updated successfully, but these errors were encountered: