summaryrefslogtreecommitdiff
path: root/ext/session/tests/bug71603.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/session/tests/bug71603.phpt')
-rw-r--r--ext/session/tests/bug71603.phpt16
1 files changed, 16 insertions, 0 deletions
diff --git a/ext/session/tests/bug71603.phpt b/ext/session/tests/bug71603.phpt
new file mode 100644
index 0000000000..588b1fecfb
--- /dev/null
+++ b/ext/session/tests/bug71603.phpt
@@ -0,0 +1,16 @@
+--TEST--
+Bug #71683 Null pointer dereference in zend_hash_str_find_bucket
+--SKIPIF--
+<?php include('skipif.inc'); ?>
+--INI--
+session.save_handler=files
+session.auto_start=1
+session.use_only_cookies=0
+--FILE--
+<?php
+ob_start();
+echo "ok\n";
+?>
+--EXPECTF--
+ok
+