History log of /PHP-7.2/ext/session/session.c (Results 176 – 200 of 764)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 5662ffb2 14-Jan-2014 Conor McDermottroe

Bug #66481 Segfaults on session_name()

If the previous value of session.name was NULL then any call to
session_name($string) would result in a segmentation fault.

This changes t

Bug #66481 Segfaults on session_name()

If the previous value of session.name was NULL then any call to
session_name($string) would result in a segmentation fault.

This changes the behaviour to set the value of session.name to
"PHPSESSID" if a blank value is given in php.ini or via -d on the
command line. There is already protection against setting it to NULL via
session_name() or ini_set().

show more ...


# f52c251f 15-Jan-2014 Yasuo Ohgaki

Fixed session module is sending multiple set-cookie headers when session.use_strict_mode=1


Revision tags: php-5.5.8, php-5.4.24
# c081ce62 03-Jan-2014 Xinchen Hui

Bump year


# 47c90277 03-Jan-2014 Xinchen Hui

Bump year


# c0d060f5 03-Jan-2014 Xinchen Hui

Bump year


# 03a37de9 26-Dec-2013 Dmitry Stogov

Improved empty string handling. Now ZE uses an interned string instead of allocation new empty string each time. (Some extensions might need to be fixed using str_efree() instead of efree() to suppor

Improved empty string handling. Now ZE uses an interned string instead of allocation new empty string each time. (Some extensions might need to be fixed using str_efree() instead of efree() to support interned strings).

show more ...


Revision tags: php-5.4.24RC1, php-5.5.8RC1, php-5.5.7, php-5.4.23, php-5.3.28, php-5.5.7RC1, php-5.4.23RC1, php-5.4.22, php-5.5.6, php-5.4.22RC1, php-5.5.6RC1, php-5.4.21, php-5.5.5, php-5.4.21RC1, php-5.5.5RC1, php-5.5.4, php-5.4.20, php-5.5.4RC1, php-5.4.20RC1
# d85827fb 21-Aug-2013 Christopher Jones

Reduce compilation noise during normal compilation:
php-5.5/ext/session/session.c:836: warning: unused variable ‘struc’
php-5.5/ext/session/session.c:836: warning: unused variable ‘nu

Reduce compilation noise during normal compilation:
php-5.5/ext/session/session.c:836: warning: unused variable ‘struc’
php-5.5/ext/session/session.c:836: warning: unused variable ‘num_key’
php-5.5/ext/session/session.c:836: warning: unused variable ‘key_length’
php-5.5/ext/session/session.c:836: warning: unused variable ‘key’
php-5.5/ext/session/session.c:835: warning: unused variable ‘key_type’
php-5.5/ext/session/session.c:834: warning: unused variable ‘_ht’
php-5.5/ext/session/session.c:857: warning: unused variable ‘has_value’
php-5.5/ext/session/session.c:856: warning: unused variable ‘namelen’
php-5.5/ext/session/session.c:853: warning: unused variable ‘name’
php-5.5/ext/session/session.c:852: warning: unused variable ‘p’

php-5.5/ext/session/mod_user.c:191: warning: unused variable ‘ret’

show more ...


# c51f77fe 21-Aug-2013 Yasuo Ohgaki

Add php_serialize session.serialize_handler. This patch closes

Request #25630
Request #43980
Request #54383
Bug #65359

and many others similar to these that are

Add php_serialize session.serialize_handler. This patch closes

Request #25630
Request #43980
Request #54383
Bug #65359

and many others similar to these that are closed as "wont fix" or
"not a bug".

Current serializers have limitations due to register_globals support
that are no longer supported. Changing existing serializer may cause
compatibility issue. Therefore, new handler is needed to remove
needless limitations.

php_serialize does not have special characters and allow numerical
index in $_SESSION. $_SESSION can be used as ordinary array.

show more ...


Revision tags: php-5.5.3, php-5.4.19, php-5.5.2
# 9ad97cd4 15-Aug-2013 Christopher Jones

Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings.


Revision tags: php-5.4.18
# 0ad81ac1 10-Aug-2013 Yasuo Ohgaki

Fixed possible buffer overflow under Windows. Note: Not a security fix.


# e9b128c1 10-Aug-2013 Yasuo Ohgaki

Fixed Bug #62015 Changed session.auto_start to PHP_INI_PERDIR. It is simply wrong and never worked if the value is changed at runtime


# 6941ce35 10-Aug-2013 Yasuo Ohgaki

Implemented Request #20421 (session_abort() and session_reset() function


# 54a42f0d 10-Aug-2013 Yasuo Ohgaki

Implemented Request #11100 (session_gc() function).


# f2b57251 10-Aug-2013 Yasuo Ohgaki

Remove compile warning of commit 554021d21e1b2517313a377676260c188152c2eb


# 554021d2 10-Aug-2013 Yasuo Ohgaki

Implemented Bug #17860 Suggestion: auto detect whether session changed


# 678ec306 10-Aug-2013 Yasuo Ohgaki

Implement Bug #54649 Create session_serializer_name()


# b6b425d2 09-Aug-2013 Yasuo Ohgaki

Fixed Bug #65315 session.hash_function silently fallback to default md5


# b80d73ce 05-Aug-2013 Stanislav Malyshev

fix crash, enable session_id and fix test


Revision tags: php-5.5.2RC1, php-5.4.18RC2, php-5.5.1, php-5.4.18RC1, php-5.3.27, php-5.4.17
# 25e8fcc8 25-Jun-2013 Yasuo Ohgaki

Strict session


# ba323488 17-Jul-2013 Arpad Ray

Fix bug #62129 - rfc1867 crashes php even though turned off

Patch by gxd305 at gmail dot com


# bcb39d9c 15-Jul-2013 Anatol Belski

Fixed typo ensuring header str is \0 terminated

This was obviously intended to send an empty header if
php_gmtime_r() fails. Currently it could send garbage.


# 87dda666 28-Jun-2013 Yasuo Ohgaki

Fixed bug #35703: when session_name("123") consist only digits, should warning


# bfb4c315 28-Jun-2013 Yasuo Ohgaki

Fixed bug #35703: when session_name("123") consist only digits, should warning


# ce8c0239 27-Jun-2013 Arpad Ray

Fix bug #62535 - $_SESSION[$key]["cancel_upload"] doesn't work as documented

When uploading multiple files, the array in the session where the progress
data is stored (and cancel_upload

Fix bug #62535 - $_SESSION[$key]["cancel_upload"] doesn't work as documented

When uploading multiple files, the array in the session where the progress
data is stored (and cancel_upload key is set) was overwritten whenever the
progress data was updated, so pending uploads would proceed anyway.

show more ...


# ada46c75 27-Jun-2013 Arpad Ray

BC fix for PR 109 merge - create_sid() method in SessionHandler

Creates a new SessionIdInterface and moves create_sid() into it, so existing
handlers implementing SessionHandlerInterface

BC fix for PR 109 merge - create_sid() method in SessionHandler

Creates a new SessionIdInterface and moves create_sid() into it, so existing
handlers implementing SessionHandlerInterface don't require create_sid().
SessionHandler still includes the method so the default mod can be called, but
now implements both interfaces.

Also added several more tests for this feature.

show more ...


12345678910>>...31