Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Dec 28, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

…#20790)

Static analysis reports that the bounds check comes after reading the
byte from the buffer.
In practice, this is tagged data that loops until the end tag is found
and therefore there isn't really a bug. The extra length check is only
there for extra hardening.
So we simply silence the static analysers and improve the hardening.

See also https://docwiki.embarcadero.com/InterBase/15/en/Isc_dsql_sql_info()
* PHP-8.3:
  Fix GH-19961: Static analysis arrayIndexThenCheck warning in firebird (#20790)
* PHP-8.4:
  Fix GH-19961: Static analysis arrayIndexThenCheck warning in firebird (#20790)
* PHP-8.5:
  Fix GH-19961: Static analysis arrayIndexThenCheck warning in firebird (#20790)
* PHP-8.3:
  Fix GH-19962: arrayIndexThenCheck static analysis warning in firebird
* PHP-8.4:
  Fix GH-19962: arrayIndexThenCheck static analysis warning in firebird
* PHP-8.5:
  Fix GH-19962: arrayIndexThenCheck static analysis warning in firebird
@pull pull bot locked and limited conversation to collaborators Dec 28, 2025
@pull pull bot added the ⤵️ pull label Dec 28, 2025
@pull pull bot merged commit 04bf2e5 into turkdevops:master Dec 28, 2025
1 of 3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant