Skip to content

ext/odbc: fix cond for SQL_NO_TOTAL that led to single byte buffer - #23462

Open
NattyNarwhal wants to merge 1 commit into
php:PHP-8.5from
NattyNarwhal:gh23443
Open

ext/odbc: fix cond for SQL_NO_TOTAL that led to single byte buffer#23462
NattyNarwhal wants to merge 1 commit into
php:PHP-8.5from
NattyNarwhal:gh23443

Conversation

@NattyNarwhal

Copy link
Copy Markdown
Member

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.

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 phpGH-23443.
@NattyNarwhal
NattyNarwhal changed the base branch from master to PHP-8.5 August 26, 2026 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

1 participant