[php-src] PR #21408: ext/mysqli: Fix memory leak and missing error handling in mysqli_poll.
| From: | devnexen | Date: | Tue, 10 Mar 2026 21:38:00 +0000 |
| Subject: | [php-src] PR #21408: ext/mysqli: Fix memory leak and missing error handling in mysqli_poll. | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-35163@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21408
Author: devnexen
In mysqlnd_zval_array_from_mysqlnd_array, dest_array was not released on the error path. Also the
callers were not checking the return value.
Found via static analysis, the error path is difficult to trigger in practice.