summaryrefslogtreecommitdiff
path: root/ext/session/tests/bug67972.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/session/tests/bug67972.phpt')
-rw-r--r--ext/session/tests/bug67972.phpt10
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/session/tests/bug67972.phpt b/ext/session/tests/bug67972.phpt
new file mode 100644
index 0000000000..63ed3a95b8
--- /dev/null
+++ b/ext/session/tests/bug67972.phpt
@@ -0,0 +1,10 @@
+--TEST--
+Bug #67972: SessionHandler Invalid memory read create_sid()
+--SKIPIF--
+<?php include('skipif.inc'); ?>
+--FILE--
+<?php
+
+(new SessionHandler)->create_sid();
+--EXPECTF--
+Fatal error: SessionHandler::create_sid(): Cannot call default session handler in %s on line %d