Skip to content

Fixed PHP SEGV when constructing messages from a destructor.#8969

Merged
haberman merged 3 commits into
protocolbuffers:3.18.xfrom
haberman:php-destructor2
Sep 13, 2021
Merged

Fixed PHP SEGV when constructing messages from a destructor.#8969
haberman merged 3 commits into
protocolbuffers:3.18.xfrom
haberman:php-destructor2

Conversation

@haberman
Copy link
Copy Markdown
Member

This also fixes the keep_descriptor_pool_after_request option, which was not working properly.

One effect of this PR is to formally forbid users from constructing their own DescriptorPool instances. It isn't possible to support this due to the way that our class name mappings rely on global state. This never truly worked previously anyway.

Fixes: #8454

I suspect this may also fix #8786

This also fixes the keep_descriptor_pool_after_request option, which
was not working properly.
@haberman haberman merged commit 39dc8ad into protocolbuffers:3.18.x Sep 13, 2021
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.

3 participants