Skip to content

[pull] master from php:master#798

Merged
pull[bot] merged 3 commits into
ConnectionMaster:masterfrom
php:master
Jun 8, 2026
Merged

[pull] master from php:master#798
pull[bot] merged 3 commits into
ConnectionMaster:masterfrom
php:master

Conversation

@pull

@pull pull Bot commented Jun 8, 2026

Copy link
Copy Markdown

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 : )

devnexen added 3 commits June 7, 2026 23:57
… errors.

When MYSQLI_REPORT_INDEX is enabled, mysqli_execute_query() duplicates
the query string into stmt->query. The two input_params validation
error branches freed the MY_STMT wrapper directly without releasing
stmt->query, leaking the duplicated string per failing call.

close GH-21930
* PHP-8.4:
  ext/mysqli: Fix stmt->query leak in mysqli_execute_query() validation errors.
* PHP-8.5:
  ext/mysqli: Fix stmt->query leak in mysqli_execute_query() validation errors.
@pull pull Bot locked and limited conversation to collaborators Jun 8, 2026
@pull pull Bot added the ⤵️ pull label Jun 8, 2026
@pull pull Bot merged commit a7223e7 into ConnectionMaster:master Jun 8, 2026
1 check 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