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

[Examples/Intro] Fix NULL pointer deref due to huuge malloc #120

Merged
merged 1 commit into from
Dec 28, 2024

Conversation

FintasticMan
Copy link
Contributor

It would probably be good to check that malloc doesn't fail, but for a simple example like this it should be fine.

It would probably be good to check that malloc doesn't fail, but for a
simple example like this it should be fine.
@nicbarker nicbarker merged commit 5831a8a into nicbarker:main Dec 28, 2024
3 checks passed
@nicbarker
Copy link
Owner

Thanks so much for fixing this, was just testing something out and obviously left the test code in 🙈
Will be more careful next time!

@FintasticMan FintasticMan deleted the fix-segfault-intro-ex branch December 30, 2024 11:21
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