diff options
author | Conor McDermottroe <cmcdermottroe@engineyard.com> | 2014-01-14 02:08:13 +0000 |
---|---|---|
committer | Yasuo Ohgaki <yohgaki@php.net> | 2014-01-16 11:33:10 +0900 |
commit | 5662ffb295c6f9cb10768d8246f2656aae6b8abb (patch) | |
tree | cbdda9b0270d626a14741db59e667ca1e50a6939 /sapi/phpdbg/phpdbg.c | |
parent | b8774519e25f97bfcb40b365dee17e7492875074 (diff) | |
download | php-git-5662ffb295c6f9cb10768d8246f2656aae6b8abb.tar.gz |
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().
Diffstat (limited to 'sapi/phpdbg/phpdbg.c')
0 files changed, 0 insertions, 0 deletions