Skip to content

ext/openssl: session reuse sharing callbacks with a persistent stream. - #25194

Closed
devnexen wants to merge 2 commits into
php:PHP-8.6from
devnexen:gh25172
Closed

devnexen wants to merge 2 commits into
php:PHP-8.6from
devnexen:gh25172

Conversation

@devnexen

@devnexen devnexen commented Nov 4, 2026

Copy link
Copy Markdown
Member

Fix #25172

Reusing a session onto a pfsockopen() stream shared the parent's request heap callback structures, which were then freed with the wrong allocator at shutdown. The reuse is now refused with a warning.

Fix php#25172

Reusing a session onto a pfsockopen() stream shared the parent's request
heap callback structures, which were then freed with the wrong allocator
at shutdown. The reuse is now refused with a warning.
@devnexen
devnexen marked this pull request as ready for review November 4, 2026 22:23
@devnexen
devnexen requested a review from bukka as a code owner November 4, 2026 22:23

@iliaal iliaal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good to me

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.

2 participants