This commit is contained in:
DavidXanatos 2023-09-24 17:13:30 +02:00
parent 5421f117fe
commit d03fc97cb0
2 changed files with 8 additions and 0 deletions

View File

@ -16,6 +16,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### Fixed
- fixed incorrect text display when changing the password of encrypted boxes or when exporting encrypted boxes [#3296](https://github.com/sandboxie-plus/Sandboxie/pull/3296)
- fixed image files not being create as sparse files

View File

@ -7321,6 +7321,13 @@ _FX BOOLEAN SbieDll_TranslateNtToDosPath(WCHAR *path)
const FILE_DRIVE *drive;
ULONG path_len, prefix_len;
if (_wcsnicmp(path, L"\\??\\", 4) == 0) {
wmemmove(path, path + 4, wcslen(path) - 4 + 1);
return TRUE;
}
if (! File_DrivesAndLinks_CritSec) { // if not sandboxed
File_DrivesAndLinks_CritSec = Dll_Alloc(sizeof(CRITICAL_SECTION));