Skip to content

Prevent reentrant PDOStatement operations#159

Closed
iliaal wants to merge 1 commit into
masterfrom
fix/pdo-stmt-reentrant-operations
Closed

Prevent reentrant PDOStatement operations#159
iliaal wants to merge 1 commit into
masterfrom
fix/pdo-stmt-reentrant-operations

Conversation

@iliaal

@iliaal iliaal commented Jul 15, 2026

Copy link
Copy Markdown
Owner

PDO now rejects same-statement operations while it traverses or mutates live binding and fetch state. It keeps the guard across Fiber suspension and invalidates weak references before callback-capable teardown to prevent statement resurrection.

Reject same-statement reentry while PDO traverses or mutates live binding
and fetch state. Keep the guard across Fiber suspension and invalidate weak
references before callback-capable statement teardown.
@iliaal
iliaal force-pushed the fix/pdo-stmt-reentrant-operations branch from c11fd18 to 4e75402 Compare July 15, 2026 10:25
@iliaal

iliaal commented Jul 15, 2026

Copy link
Copy Markdown
Owner Author

Promoted to php#22739.

@iliaal iliaal closed this Jul 15, 2026
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.

1 participant