projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
d9d181e
113f1fd
)
Merge branch 'PHP-5.6' of https://git.php.net/repository/php-src into PHP-5.6
author
Xinchen Hui
<laruence@php.net>
Fri, 31 Oct 2014 09:35:19 +0000
(17:35 +0800)
committer
Xinchen Hui
<laruence@php.net>
Fri, 31 Oct 2014 09:36:33 +0000
(17:36 +0800)
1
2
ext/opcache/tests/bug68104.phpt
patch
|
diff1
|
|
blob
|
history
diff --cc
ext/opcache/tests/bug68104.phpt
index 521486ef582aa86c53683e93ecc2aadf1021c17b,0000000000000000000000000000000000000000..89439ef68e13451f76655f3d2cf1982588673faa
mode 100644,000000..100644
---
1
/
ext/opcache/tests/bug68104.phpt
--- /dev/null
+++ b/
ext/opcache/tests/bug68104.phpt
@@@
-1,13
-1,0
+1,17
@@@
- --EXPECT--
+--TEST--
+Bug #68104 (Segfault while pre-evaluating a disabled function)
+--INI--
+opcache.enable=1
+opcache.enable_cli=1
+disable_functions=dl
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
+--FILE--
+<?php
+var_dump(is_callable("dl"));
++dl("a.so");
++?>
++--EXPECTF--
+bool(true)
++
++Warning: dl() has been disabled for security reasons in %sbug68104.php on line %d