Skip to content

#200: changelog for the pooled PDO connection fixes#208

Merged
EdmondDantes merged 1 commit into
mainfrom
200-pdo-pool-changelog
Jul 22, 2026
Merged

#200: changelog for the pooled PDO connection fixes#208
EdmondDantes merged 1 commit into
mainfrom
200-pdo-pool-changelog

Conversation

@EdmondDantes

Copy link
Copy Markdown
Contributor

Changelog entries for true-async/php-src#16 (fixes #200).

Do not merge before true-async/php-src#16 has landed and true-async-stable has been pushed. The build workflows here clone php-src with --branch=true-async-stable, so merging this first would run CI against a php-src without the fix.

Two entries:

  • the double release of a pooled connection when the lazy scheduler launch changed the binding key mid-flight;
  • the use-after-free when the cycle collector freed a pooled PDO before one of its statements.

…fixes

Covers the key-drift double release across the lazy scheduler launch and the
use-after-free when GC destroys a pooled PDO before one of its statements.
@EdmondDantes
EdmondDantes merged commit a015ab1 into main Jul 22, 2026
8 checks passed
@codecov

codecov Bot commented Jul 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@EdmondDantes
EdmondDantes deleted the 200-pdo-pool-changelog branch July 22, 2026 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Segfault: use-after-free in pdo_pool_free_conn when a PDOStatement outlives a pooled PDO and stream I/O happens in the same scope

1 participant