Skip to content

Commit 733b514

Browse files
committed
Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4: Properly initialize PS(mod) on RINIT
2 parents 90be86f + 688e56d commit 733b514

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/session/session.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2691,7 +2691,8 @@ static int php_rinit_session(zend_bool auto_start) /* {{{ */
26912691
{
26922692
php_rinit_session_globals();
26932693

2694-
if (PS(mod) == NULL) {
2694+
PS(mod) = NULL;
2695+
{
26952696
char *value;
26962697

26972698
value = zend_ini_string("session.save_handler", sizeof("session.save_handler") - 1, 0);

0 commit comments

Comments
 (0)