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

CodeQL Potential use after free fix #1024

Open
wants to merge 3 commits into
base: vanilla
Choose a base branch
from

Conversation

SashaXser
Copy link

CodeQL detected errors like Potential use after free. I recommend integrating CodeQL into your development process to detect and fix many more such vulnerabilities.

SashaXser and others added 3 commits November 5, 2024 21:38
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Fix code scanning alert no. 96: Potential use after free
@giulianobelinassi
Copy link
Collaborator

Have you tested this with address sanitizer or valgrind to check if this doesn´t introduce any memory leaks?

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

Successfully merging this pull request may close these issues.

2 participants