summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg.c
diff options
context:
space:
mode:
authorConor McDermottroe <cmcdermottroe@engineyard.com>2014-01-14 02:08:13 +0000
committerYasuo Ohgaki <yohgaki@php.net>2014-01-16 11:33:10 +0900
commit5662ffb295c6f9cb10768d8246f2656aae6b8abb (patch)
treecbdda9b0270d626a14741db59e667ca1e50a6939 /sapi/phpdbg/phpdbg.c
parentb8774519e25f97bfcb40b365dee17e7492875074 (diff)
downloadphp-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