Skip to content

Fix potential NULL pointer dereference #9872

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

Closed
wants to merge 1 commit into from
Closed

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Nov 2, 2022

shm_get() (not to be confused with shmget()) returns NULL if reallocation fails; we need to cater to that when calling the function.


Not sure if there will be another regular bug fix release for PHP 8.0, but even if not, it might be worthwhile to merge this patch nonetheless.

`shm_get()` (not to be confused with `shmget()`) returns `NULL` if
reallocation fails; we need to cater to that when calling the function.
@cmb69 cmb69 closed this in d1c9ff5 Nov 2, 2022
@cmb69 cmb69 deleted the cmb/shm_get branch November 2, 2022 13:57
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