4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-20 13:29:24 +08:00
Ken Brown 283cb372e4 Cygwin: normalize_win32_path: improve error checking
If the source path starts with the Win32 long path prefix '\\?\' or
the NT object directory prefix '\??\', require the prefix to be
followed by 'UNC\' or '<drive letter>:\'.  Otherwise return EINVAL.

This fixes the assertion failure in symlink_info::check that was
reported here:

  https://cygwin.com/ml/cygwin/2019-09/msg00228.html

That assertion failure was caused by normalize_win32_path returning a
path with no backslashes when the source path was '\\?\DRIVE'.
2019-09-26 08:52:13 -04:00
..
2016-11-24 16:09:31 +01:00
2019-09-24 20:04:28 -04:00
2016-06-25 00:43:01 +02:00
2019-07-25 10:45:52 +02:00
2019-01-15 22:02:33 +01:00
2019-01-15 22:02:33 +01:00
2019-01-15 22:02:33 +01:00
2018-02-20 17:59:53 +01:00
2017-03-27 22:03:58 +01:00
2015-08-17 11:05:43 +02:00
2019-04-16 12:54:43 +02:00
2018-04-16 22:46:11 -05:00
2018-02-07 13:07:44 +01:00
2019-06-25 15:44:43 -04:00
2019-06-25 15:44:43 -04:00
2019-07-19 14:14:33 -04:00