Commit 9b6f83e
authored
ext/pdo_odbc: Require non-empty string when building string buffer (php#21652)
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 phpGH-215341 parent d1670fb commit 9b6f83e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
710 | 710 | | |
711 | 711 | | |
712 | 712 | | |
713 | | - | |
| 713 | + | |
714 | 714 | | |
715 | 715 | | |
716 | 716 | | |
| |||
0 commit comments