GUACAMOLE-326: Explicitly deny attempted reads/writes to Windows named data streams (like "foo:Zone.identifier" for the file "foo").
This commit is contained in:
parent
d9c1ce7738
commit
e5a1b4d8ae
@ -654,6 +654,10 @@ int guac_rdp_fs_normalize_path(const char* path, char* abs_path) {
|
|||||||
|
|
||||||
} /* end if separator */
|
} /* end if separator */
|
||||||
|
|
||||||
|
/* We do not currently support named streams */
|
||||||
|
else if (c == ':')
|
||||||
|
return 1;
|
||||||
|
|
||||||
} /* end for each character */
|
} /* end for each character */
|
||||||
|
|
||||||
/* If no components, the path is simply root */
|
/* If no components, the path is simply root */
|
||||||
|
Loading…
Reference in New Issue
Block a user