/
proc
/
3430793
/
cwd
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
standard
/
tests
/
http
/
File Upload :
llllll
Current File: //proc/3430793/cwd/usr/local/lsws/phpbuild/php-8.0.7/ext/standard/tests/http/bug75535.phpt
--TEST-- Bug #75535: Inappropriately parsing HTTP response leads to PHP segment fault --SKIPIF-- <?php require 'server.inc'; http_server_skipif(); ?> --INI-- allow_url_fopen=1 --FILE-- <?php require 'server.inc'; $responses = array( "data://text/plain,HTTP/1.0 200 Ok\r\nContent-Length\r\n", ); ['pid' => $pid, 'uri' => $uri] = http_server($responses, $output); var_dump(file_get_contents($uri)); var_dump($http_response_header); http_server_kill($pid); --EXPECT-- string(0) "" array(2) { [0]=> string(15) "HTTP/1.0 200 Ok" [1]=> string(14) "Content-Length" }
Copyright ©2k19 -
Hexid
|
Tex7ure