ntdll: Fix null pointer dereference in RtlDosPathNameToNtPathName_U_WithStatus.

Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Akihiro Sagawa 2021-06-25 18:47:00 +09:00 committed by Alexandre Julliard
parent 7539dd607b
commit c94ac2e061
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ NTSTATUS WINAPI RtlDosPathNameToNtPathName_U_WithStatus(const WCHAR *dos_path, U
goto out;
}
if (*file_part) *file_part = NULL;
if (file_part) *file_part = NULL;
sz = LOWORD(dosdev);