Skip to content

[pull] master from php:master - #1181

Merged
pull[bot] merged 6 commits into
turkdevops:masterfrom
php:master
Aug 12, 2026
Merged

[pull] master from php:master#1181
pull[bot] merged 6 commits into
turkdevops:masterfrom
php:master

Conversation

@pull

@pull pull Bot commented Aug 12, 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 : )

DanielEScherzer and others added 6 commits August 11, 2026 14:05
* PHP-8.5:
  PHP-8.5 is now for PHP 8.5.11-dev
session_create_id() passes the return value of s_create_sid() straight
into s_validate_sid(). A userland create_sid() that throws makes
ps_create_sid_user() return NULL, and ps_validate_sid_user() then reaches
ZVAL_STR_COPY() with a NULL key. Stop the retry loop when no ID was
created and propagate a pending exception instead of reporting a plain
failure. The four s_create_sid() call sites in php_session_initialize()
and session_regenerate_id() already test for NULL.

Closes GH-22924
* PHP-8.4:
  ext/session: check the created ID before validating it
* PHP-8.5:
  ext/session: check the created ID before validating it
@pull pull Bot locked and limited conversation to collaborators Aug 12, 2026
@pull pull Bot added the ⤵️ pull label Aug 12, 2026
@pull
pull Bot merged commit a95a619 into turkdevops:master Aug 12, 2026
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.

2 participants