[php-src] PR #21652: ext/pdo_odbc: Require non-empty string when building string buffer
| From: | NattyNarwhal | Date: | Mon, 06 Apr 2026 14:46:07 +0000 |
| Subject: | [php-src] PR #21652: ext/pdo_odbc: Require non-empty string when building string buffer | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-35580@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21652
Author: NattyNarwhal
A buggy driver could do this and get PDO_ODBC stuck in this loop. Require a non-empty string, so an
empty one breaks like the SQL_NO_DATA case.
Fixes GH-21534