Skip to content

Fix GH-9720: Null pointer dereference while serializing the response - #9739

Closed
cmb69 wants to merge 1 commit into
php:PHP-8.0from
cmb69:cmb/gh9720
Closed

cmb69 wants to merge 1 commit into
php:PHP-8.0from
cmb69:cmb/gh9720

Conversation

@cmb69

@cmb69 cmb69 commented Oct 13, 2022

Copy link
Copy Markdown
Member

When traversing the result array, we need to cater to param_name possibly being NULL. Prior to PHP 7.0.0, this was implicitly done because param_name was of type char*.

When traversing the result array, we need to cater to `param_name`
possibly being `NULL`.  Prior to PHP 7.0.0, this was implicitly done
because `param_name` was of type `char*`.
@cmb69 cmb69 linked an issue Oct 13, 2022 that may be closed by this pull request
@cmb69 cmb69 closed this in e440e37 Oct 13, 2022
@cmb69
cmb69 deleted the cmb/gh9720 branch October 13, 2022 14:11
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.

Null pointer dereference while serializing the response

2 participants