Skip to content

Fix GH-18617: socket_import_file_descriptor return check.#18618

Closed
devnexen wants to merge 2 commits into
php:PHP-8.3from
devnexen:gh18617
Closed

Fix GH-18617: socket_import_file_descriptor return check.#18618
devnexen wants to merge 2 commits into
php:PHP-8.3from
devnexen:gh18617

Conversation

@devnexen
Copy link
Copy Markdown
Member

to_zval_read_fd_array() helper when retrieving the socket protocol did not check it.

@devnexen devnexen marked this pull request as draft May 21, 2025 18:39
to_zval_read_fd_array() helper when retrieving the socket protocol did
not check it.
@devnexen devnexen marked this pull request as ready for review May 21, 2025 18:52
@devnexen devnexen linked an issue May 21, 2025 that may be closed by this pull request
Copy link
Copy Markdown
Member

@ndossche ndossche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was under the impression that more would be needed, but it seems the existing code already continues if something went wrong anyway and changing that may impact BC.
Anyway, don't you need to free up elem ?

@devnexen
Copy link
Copy Markdown
Member Author

Merged with c30bddc

@devnexen devnexen closed this May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

socket_import_file_descriptor return value not checked

2 participants