mirror of
https://github.com/reactos/reactos.git
synced 2025-01-13 01:22:03 +00:00
Yes we should do it as WINE. Fixes a buffer overflow in RtlDetermineDosPathNameType_U()
svn path=/trunk/; revision=23967
This commit is contained in:
parent
2417bf273f
commit
3a4bb3b8dc
1 changed files with 1 additions and 6 deletions
|
@ -75,12 +75,7 @@ RtlDetermineDosPathNameType_U(PCWSTR Path)
|
|||
}
|
||||
else
|
||||
{
|
||||
/* FIXME: the Wine version of this line reads:
|
||||
* if (!Path[1] || Path[1] != L':') return RtlPathTypeRelative
|
||||
* Should we do this too?
|
||||
* -Gunnar
|
||||
*/
|
||||
if (Path[1] != L':') return RtlPathTypeRelative; /* xxx */
|
||||
if (!Path[1] || Path[1] != L':') return RtlPathTypeRelative; /* xxx */
|
||||
if (IS_PATH_SEPARATOR(Path[2])) return RtlPathTypeDriveAbsolute; /* x:\xxx */
|
||||
|
||||
return RtlPathTypeDriveRelative; /* x:xxx */
|
||||
|
|
Loading…
Reference in a new issue