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

Detect use-after-free bugs in debug mode #64

Open
ovesh opened this issue Jun 17, 2024 · 0 comments
Open

Detect use-after-free bugs in debug mode #64

ovesh opened this issue Jun 17, 2024 · 0 comments

Comments

@ovesh
Copy link
Contributor

ovesh commented Jun 17, 2024

#62 and #63 showed that it's too easy to introduce use-after-free bugs.
These can be caught by adding the fsanitize=address flag, which will exit non-zero if such a bug is found. Due to the performance penalty, enable this only in debug mode.

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