[php-src] PR #18972: Fix OSS-Fuzz #385993744
| From: | nielsdos | Date: | Sat, 28 Jun 2025 22:51:50 +0000 |
| Subject: | [php-src] PR #18972: Fix OSS-Fuzz #385993744 | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-32241@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18972
Author: nielsdos
PSFS_FEED_ME is supposed to be returned when the filter did not receive enough data and did not
generate buckets for the output brigade. The test generates buckets anyway on the output brigade,
and the stream layer did not handle that case causing a memory leak. To solve this, discard any such
buckets as it would conflict with the status code returned by the filter. This keeps BC and solves
the leak.