Skip to content

Fix leaks from unprocessed user filter buckets - #23267

Open
matthiasgoergens wants to merge 1 commit into
php:masterfrom
matthiasgoergens:user-filter-bucket-leak
Open

Fix leaks from unprocessed user filter buckets#23267
matthiasgoergens wants to merge 1 commit into
php:masterfrom
matthiasgoergens:user-filter-bucket-leak

Conversation

@matthiasgoergens

Copy link
Copy Markdown
Contributor

A user filter can return without having processed every bucket in its input
brigade; the stream layer then drops the brigade, orphaning the remaining
buckets. Unlink and release leftover buckets when the filter finishes. This
resolves two XFAILs in ext/standard/tests/filters.

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.

1 participant