Skip to content

Commit

Permalink
Update file_link.c
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidXanatos committed Apr 29, 2024
1 parent 4a6c5dd commit 774d1de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sandboxie/core/dll/file_link.c
Expand Up @@ -1076,7 +1076,7 @@ _FX FILE_LINK *File_AddTempLink(WCHAR *path)
if (_wcsnicmp(input_str, L"\\??\\Volume{", 11) == 0)
input_str = File_TranslateGuidToNtPath2(SubstituteNameBuffer, SubstituteNameLength / sizeof(WCHAR));
else if (_wcsnicmp(input_str, File_BQQB, 4) == 0)
input_str = File_TranslateDosToNtPath2(SubstituteNameBuffer + 4, SubstituteNameLength / sizeof(WCHAR));
input_str = File_TranslateDosToNtPath2(SubstituteNameBuffer + 4, (SubstituteNameLength / sizeof(WCHAR)) - 4);
}

if (input_str) {
Expand Down

0 comments on commit 774d1de

Please sign in to comment.