diff options
author | Pierre Joye <pajoye@php.net> | 2010-08-26 14:23:17 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2010-08-26 14:23:17 +0000 |
commit | b7772809336c7af9acb4ca90fb34805dbecf7aa7 (patch) | |
tree | b1d178c86fc82a343096700b34446469d1acf0eb /TSRM | |
parent | db9667d2a516241d2e48c962775866f628837dfa (diff) | |
download | php-git-b7772809336c7af9acb4ca90fb34805dbecf7aa7.tar.gz |
- Symlink resolution fails when target is a DFS path
Diffstat (limited to 'TSRM')
-rw-r--r-- | TSRM/tsrm_virtual_cwd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c index d51e01aa3e..1b90d5a99c 100644 --- a/TSRM/tsrm_virtual_cwd.c +++ b/TSRM/tsrm_virtual_cwd.c @@ -811,7 +811,9 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i \\?\Volume{62d1c3f8-83b9-11de-b108-806e6f6e6963}\foo */ if (strncmp(substitutename, "\\??\\Volume{",11) == 0 - || strncmp(substitutename, "\\\\?\\Volume{",11) == 0) { + || strncmp(substitutename, "\\\\?\\Volume{",11) == 0 + || strncmp(substitutename, "\\??\\UNC\\", 8) == 0 + ) { isVolume = TRUE; substitutename_off = 0; } else |