Skip to content

Conversation

@ChAoSUnItY
Copy link
Collaborator

@ChAoSUnItY ChAoSUnItY commented Jun 12, 2025

This fixes potential invalid pointer dereference when fails to allocate.

Summary by Bito

This pull request fixes a bug in the `src/globals.c` file by correcting the usage of the `printf` function. The update ensures that the error message accurately reflects the size of the allocation during memory allocation failures, mitigating potential invalid pointer dereference issues.

@jserv jserv merged commit 3514ecb into sysprog21:master Jun 12, 2025
6 checks passed
@jserv
Copy link
Collaborator

jserv commented Jun 12, 2025

Thank @ChAoSUnItY for contributing!

@ChAoSUnItY ChAoSUnItY deleted the fix/minor branch June 12, 2025 07:00
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