blob: 3660202a4c1a2a49ddf289f0cc6bc1db72a4d6b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--TEST--
Bug #74923 Crash when crawling through network share
--SKIPIF--
<?php
include dirname(__FILE__) . DIRECTORY_SEPARATOR . "util.inc";
skip_if_not_win();
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
?>
--FILE--
<?php
/* No way to affect timeout here. On different systems this might take some
dozens of seconds to complete. */
$s = '\\\\hello.com' . str_repeat('\\', 260);
var_dump($s, @stat($s));
?>
===DONE===
--EXPECTF--
string(271) "%s"
bool(false)
===DONE===
|