Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidXanatos committed Jan 7, 2024
1 parent 6158e21 commit f533338
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Note: for the fix to take full effect the shell integration need to be re applied
- fixed Error Status: 0x0000065b (Function Failed During Execution) [#3504](https://github.com/sandboxie-plus/Sandboxie/issues/3504)
- fixed Privacy Enhanced Sandboxes are fully out of function with SBIE2204 error code [#3542](https://github.com/sandboxie-plus/Sandboxie/issues/3542)
- fixed OpenFilePath directories are not enumerated within their parent folders [#3519](https://github.com/sandboxie-plus/Sandboxie/issues/3519)



Expand Down
6 changes: 3 additions & 3 deletions Sandboxie/core/dll/file_dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -1432,9 +1432,9 @@ _FX NTSTATUS File_MergeDummy(
WCHAR* FakePath = Dll_AllocTemp(TruePathLen * sizeof(WCHAR) + 1 + name_len * sizeof(WCHAR) + 10);

wmemcpy(FakePath, TruePath, TruePathLen);
FakePath[TruePathLen++] = L'\\';
FakePath[TruePathLen] = L'\0';
end = &FakePath[TruePathLen];
FakePath[TruePathLen] = L'\\';
end = &FakePath[TruePathLen + 1];
*end = L'\0';
wmemcpy(end, ptr, name_len);
end[name_len] = L'\0';

Expand Down

0 comments on commit f533338

Please sign in to comment.