[php-src] PR #23462: ext/odbc: fix cond for SQL_NO_TOTAL that led to single byte buffer
| From: | NattyNarwhal | Date: | Tue, 25 Aug 2026 22:35:50 +0000 |
| Subject: | [php-src] PR #23462: ext/odbc: fix cond for SQL_NO_TOTAL that led to single byte buffer | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-38143@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23462
Author: NattyNarwhal
The ternary condition here was inverted, which could lead to a single byte buffer being used, which
is insufficient for anything. Fix it by making the conditionals clearer.
Fixes GH-23443.