Skip to content

Fix NULL pointer dereferences after malloc #115

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

Merged
merged 1 commit into from
Jul 31, 2025
Merged

Fix NULL pointer dereferences after malloc #115

merged 1 commit into from
Jul 31, 2025

Conversation

jserv
Copy link
Contributor

@jserv jserv commented Jul 31, 2025

This adds missing NULL checks after memory allocation in multiple core files to prevent crashes when malloc fails.

Summary by Bito

This pull request enhances application stability by adding NULL checks after memory allocations in core files, preventing potential crashes from dereferencing NULL pointers. These modifications ensure graceful handling of memory allocation failures.

This adds missing NULL checks after memory allocation in multiple core
files to prevent crashes when malloc fails.
@jserv jserv merged commit 9e605dc into main Jul 31, 2025
6 checks passed
@jserv jserv deleted the fix-null-pointer branch July 31, 2025 03:55
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.

1 participant