close
Skip to content

ext/pdo_odbc: Require non-empty string when building string buffer#21652

Open
NattyNarwhal wants to merge 1 commit intophp:PHP-8.4from
NattyNarwhal:gh-21534
Open

ext/pdo_odbc: Require non-empty string when building string buffer#21652
NattyNarwhal wants to merge 1 commit intophp:PHP-8.4from
NattyNarwhal:gh-21534

Conversation

@NattyNarwhal
Copy link
Copy Markdown
Member

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

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-21534
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant