[php-src] PR #15915: Fix oss-fuzz report triggered by GH-15712 commit.
| From: | devnexen | Date: | Mon, 16 Sep 2024 11:32:20 +0000 |
| Subject: | [php-src] PR #15915: Fix oss-fuzz report triggered by GH-15712 commit. | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28617@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15915
Author: devnexen
It triggered allocation overflow which, even fixed, in turn gives memory leak on 32 bits but the
allocator relies on signed integers so instead of changing
j type we exit if an
overflow during the buffer increase is going to happen.