]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: mount: allow any valid character in UNC paths
authorCorinna Vinschen <corinna@vinschen.de>
Sun, 22 Jan 2023 19:11:59 +0000 (20:11 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Sun, 22 Jan 2023 19:15:37 +0000 (20:15 +0100)
commit6338d2f24a609f10363477da29cf883e4a063f83
treec6bc3e0a5e801d72c59a61858de7507555dd9e85
parentbdb9f5b17339b0d54e408c6d7999e3f387eea6cf
Cygwin: mount: allow any valid character in UNC paths

The current code only allows server and share names to
start with ASCII chars [a-zA-Z0-9],, which is not correct.
Rather, check for a valid share character.

Fixes: 1fd5e000ace55 ("import winsup-2000-02-17 snapshot")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/mount.cc
winsup/cygwin/release/3.4.6
This page took 0.027789 seconds and 5 git commands to generate.