This commit is contained in:
DavidXanatos 2024-04-27 15:20:44 +02:00
parent 08a2a2b031
commit b2e057ff79
2 changed files with 15 additions and 5 deletions

View File

@ -11,6 +11,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- added DropAdmin and improved related checkboxes #3851 https://github.com/sandboxie-plus/Sandboxie/pull/3851 (thanks offhub)
- added file version info doe SbieDll.dll and SbieSvc.exe to the Plus About dialog
### Changed
- changed when creating reparse points (symlinks/junctions) the target path remains teh TruePath [#3852](https://github.com/sandboxie-plus/Sandboxie/issues/3852)
- the old behavioure can be restored with "BoxReparsTarget=y"
- this change should work fine with the resent improvements in handling reparse points
### Fixed
- fixed issue with start agent option [#3844](https://github.com/sandboxie-plus/Sandboxie/pull/3844) (thanks offhub)
- fixed issue with Delete V2 introduced in 1.13.5

View File

@ -1152,11 +1152,17 @@ _FX NTSTATUS File_NtFsControlFile(
handle = File_GetProxyPipe(FileHandle, NULL);
if (! handle) {
status = STATUS_BAD_INITIAL_PC;
if (IoControlCode == FSCTL_SET_REPARSE_POINT) {
status = File_SetReparsePoint(
FileHandle, InputBuffer, InputBufferLength);
SetLastError(LastError);
BOOLEAN BoxReparsTarget = SbieApi_QueryConfBool(NULL, L"BoxReparsTarget", FALSE);
if(BoxReparsTarget) {
status = File_SetReparsePoint(
FileHandle, InputBuffer, InputBufferLength);
SetLastError(LastError);
}
} else if (IoControlCode == FSCTL_PIPE_WAIT) {
@ -1172,8 +1178,7 @@ _FX NTSTATUS File_NtFsControlFile(
else
status = STATUS_ACCESS_DENIED;
} else
status = STATUS_BAD_INITIAL_PC;
}
if (status == STATUS_BAD_INITIAL_PC) {