-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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=== |