Skip to content
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

Potential Double Free Vulnerability #308

Open
HoshinoStranding opened this issue Mar 26, 2024 · 0 comments
Open

Potential Double Free Vulnerability #308

HoshinoStranding opened this issue Mar 26, 2024 · 0 comments

Comments

@HoshinoStranding
Copy link

I have identified a potential Double Free vulnerability in the project and would like to report it to the maintainers. This vulnerability has the potential to cause unexpected application behavior, crashes.Can you please help me check it? Thank you for your effort and patience!
Below is the execution sequence of the program that may produce Double Free vulnerability .

  1. clib/src/common/clib-package.c clib_package_new_from_slug_with_package_name function: On line 713, the variable "version" (a pointer to char) is freed for the first time. However, if the program goes to the "error" section on line 733, "version" may be freed again on line 787, which can lead to a Double Free vulnerability.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant