diff options
author | Sascha Schumann <sas@php.net> | 2002-10-03 16:49:52 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2002-10-03 16:49:52 +0000 |
commit | 3998374a0d5db3140113260989c322dc337b7633 (patch) | |
tree | 26c128b97014369ed219d89394d4ff0127968c39 /ext/session/tests | |
parent | 61e47a342eb038b5821e0e36c70d6369061b7e47 (diff) | |
download | php-git-3998374a0d5db3140113260989c322dc337b7633.tar.gz |
invalid session.save_path should not cause a segfault
Diffstat (limited to 'ext/session/tests')
-rw-r--r-- | ext/session/tests/016.phpt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ext/session/tests/016.phpt b/ext/session/tests/016.phpt new file mode 100644 index 0000000000..934ac6731c --- /dev/null +++ b/ext/session/tests/016.phpt @@ -0,0 +1,19 @@ +--TEST-- +invalid session.save_path should not cause a segfault +--SKIPIF-- +<?php include('skipif.inc'); ?> +--INI-- +session.save_path="123;:/really\\completely:::/invalid;;,23123;213" +session.use_cookies=0 +session.cache_limiter= +--FILE-- +<?php +error_reporting(E_ALL); + +@session_start(); +$HTTP_SESSION_VARS["test"] = 1; +@session_write_close(); +print "I live\n"; +?> +--EXPECT-- +I live |