This commit is contained in:
DavidXanatos 2023-10-16 13:27:55 +02:00
parent 2fa572c7ea
commit 23bb29235b
2 changed files with 6 additions and 1 deletions

View File

@ -14,6 +14,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### Fixed
- fixed issue with auto updater not offering version updates
- fixed issue with new symlink handling code [#3340](https://github.com/sandboxie-plus/Sandboxie/issues/3340)

View File

@ -999,7 +999,11 @@ _FX FILE_LINK *File_AddTempLink(WCHAR *path)
if (input_str) {
newpath = File_TranslateTempLinks_2(input_str, wcslen(input_str));
ULONG input_len = wcslen(input_str);
while (input_len > 0 && input_str[input_len - 1] == L'\\')
input_len -= 1; // remove tailing back slash
newpath = File_TranslateTempLinks_2(input_str, input_len);
if (input_str != reparseDataBuffer->MountPointReparseBuffer.PathBuffer)
Dll_Free(input_str);