1.10.1a
This commit is contained in:
parent
9c2bfb7abb
commit
95c8e01daa
|
@ -13,6 +13,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
- fixed issue with cross renaming of directories
|
- fixed issue with cross renaming of directories
|
||||||
- fixed issue with auto scroll not working
|
- fixed issue with auto scroll not working
|
||||||
- fixed issue with link argumetn handling [#2969](https://github.com/sandboxie-plus/Sandboxie/issues/2969)
|
- fixed issue with link argumetn handling [#2969](https://github.com/sandboxie-plus/Sandboxie/issues/2969)
|
||||||
|
- fixed IPC issue introduced in 1.10.1 [#3132](https://github.com/sandboxie-plus/Sandboxie/issues/3132) [#3134](https://github.com/sandboxie-plus/Sandboxie/issues/3134)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -750,7 +750,7 @@ _FX NTSTATUS Ipc_GetName(
|
||||||
if (OutIsBoxedPath)
|
if (OutIsBoxedPath)
|
||||||
*OutIsBoxedPath = FALSE;
|
*OutIsBoxedPath = FALSE;
|
||||||
|
|
||||||
if (ObjectName) {
|
if (ObjectName && ObjectName != (UNICODE_STRING*)-1) {
|
||||||
objname_len = ObjectName->Length & ~1;
|
objname_len = ObjectName->Length & ~1;
|
||||||
objname_buf = ObjectName->Buffer;
|
objname_buf = ObjectName->Buffer;
|
||||||
|
|
||||||
|
@ -784,7 +784,7 @@ _FX NTSTATUS Ipc_GetName(
|
||||||
name = Dll_GetTlsNameBuffer(
|
name = Dll_GetTlsNameBuffer(
|
||||||
TlsData, TRUE_NAME_BUFFER, length + objname_len);
|
TlsData, TRUE_NAME_BUFFER, length + objname_len);
|
||||||
|
|
||||||
/*if ((! objname_len) || (! *objname_buf)) {
|
if (((! objname_len) || (! *objname_buf)) && ObjectName != (UNICODE_STRING*)-1) {
|
||||||
|
|
||||||
//
|
//
|
||||||
// an object handle was specified, but the object name is an
|
// an object handle was specified, but the object name is an
|
||||||
|
@ -800,7 +800,7 @@ _FX NTSTATUS Ipc_GetName(
|
||||||
|
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
}*/
|
}
|
||||||
|
|
||||||
if (objname_len && *objname_buf == L'\\') {
|
if (objname_len && *objname_buf == L'\\') {
|
||||||
|
|
||||||
|
@ -4287,7 +4287,7 @@ _FX NTSTATUS Ipc_NtQueryDirectoryObject(
|
||||||
|
|
||||||
WCHAR *TruePath;
|
WCHAR *TruePath;
|
||||||
WCHAR *CopyPath;
|
WCHAR *CopyPath;
|
||||||
NTSTATUS status = Ipc_GetName(DirectoryHandle, NULL, &TruePath, &CopyPath, NULL);
|
NTSTATUS status = Ipc_GetName(DirectoryHandle, (UNICODE_STRING*)-1, &TruePath, &CopyPath, NULL);
|
||||||
|
|
||||||
if (!NT_SUCCESS(status))
|
if (!NT_SUCCESS(status))
|
||||||
return status;
|
return status;
|
||||||
|
|
Loading…
Reference in New Issue