mirror of
https://github.com/php/php-src.git
synced 2025-08-20 01:14:28 +02:00
- Symlink resolution fails when target is a DFS path
This commit is contained in:
parent
db9667d2a5
commit
b777280933
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue