History log of /PHP-7.4/ext/standard/tests/filters/bug54350.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# 15197702 07-Oct-2021 Nikita Popov

Fixed bug #54350

Don't allow calling fclose() on the stream while in the user
filter callback. This is basically the same protection as xp_ssl
streams use during callback invocations

Fixed bug #54350

Don't allow calling fclose() on the stream while in the user
filter callback. This is basically the same protection as xp_ssl
streams use during callback invocations.

There are more issues in this general area (e.g. stack overflow
on stream_filter_remove), but this addresses freeing the stream
during the filter callback invocation at least.

show more ...