From 911ed2f3f2e2f644017a644919661007d435fd6e Mon Sep 17 00:00:00 2001 From: DavidXanatos <3890945+DavidXanatos@users.noreply.github.com> Date: Sat, 15 Jul 2023 19:44:58 +0200 Subject: [PATCH] 1.10.1 --- CHANGELOG.md | 6 +++++ Sandboxie/common/my_version.h | 4 ++-- Sandboxie/core/dll/ipc.c | 43 +++++++++++++++++++++++------------ SandboxiePlus/version.h | 2 +- 4 files changed, 37 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e9912fbb..1e4de992 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,12 @@ This project adheres to [Semantic Versioning](http://semver.org/). +## [1.10.1 / 5.65.1] - 2023-07-?? + +### Fixed +- fixed "Disable Security Isolation" causes a game to stop playing audio [#2893](https://github.com/sandboxie-plus/Sandboxie/issues/2893) + + ## [1.10.0 / 5.65.0] - 2023-07-?? diff --git a/Sandboxie/common/my_version.h b/Sandboxie/common/my_version.h index 6ba07144..97e4f581 100644 --- a/Sandboxie/common/my_version.h +++ b/Sandboxie/common/my_version.h @@ -21,8 +21,8 @@ #ifndef _MY_VERSION_H #define _MY_VERSION_H -#define MY_VERSION_BINARY 5,65,0 -#define MY_VERSION_STRING "5.65.0" +#define MY_VERSION_BINARY 5,65,1 +#define MY_VERSION_STRING "5.65.1" #define MY_ABI_VERSION 0x56000 // These #defines are used by either Resource Compiler or NSIS installer diff --git a/Sandboxie/core/dll/ipc.c b/Sandboxie/core/dll/ipc.c index 55261f33..e3cd0a0c 100644 --- a/Sandboxie/core/dll/ipc.c +++ b/Sandboxie/core/dll/ipc.c @@ -1383,6 +1383,13 @@ _FX NTSTATUS Ipc_NtConnectPort( if (PATH_IS_OPEN(mp_flags)) goto OpenTruePath; + // + // check if we are in app mode in which case proxying is not needed + // + + if (Dll_CompartmentMode) // NoServiceAssist + goto OpenTruePath; + // // check for proxy LPC port // @@ -1394,8 +1401,6 @@ _FX NTSTATUS Ipc_NtConnectPort( if (status != STATUS_BAD_INITIAL_PC) __leave; - if (status == STATUS_BAD_INITIAL_STACK) - goto OpenTruePath; // // if trying to connect to a COM port, start our COM servers first @@ -1511,6 +1516,13 @@ _FX NTSTATUS Ipc_NtSecureConnectPort( if (PATH_IS_OPEN(mp_flags)) goto OpenTruePath; + // + // check if we are in app mode in which case proxying is not needed + // + + if (Dll_CompartmentMode) // NoServiceAssist + goto OpenTruePath; + // // check for proxy LPC port // @@ -1522,8 +1534,6 @@ _FX NTSTATUS Ipc_NtSecureConnectPort( if (status != STATUS_BAD_INITIAL_PC) __leave; - if (status == STATUS_BAD_INITIAL_STACK) - goto OpenTruePath; // // if trying to connect to a COM port, start our COM servers first @@ -1763,6 +1773,13 @@ _FX NTSTATUS Ipc_NtAlpcConnectPort( if(RpcRt_IsDynamicPortOpen(TruePath)) goto OpenTruePath; + // + // check if we are in app mode in which case proxying is not needed + // + + if (Dll_CompartmentMode) // NoServiceAssist + goto OpenTruePath; + // // check for proxy LPC port // @@ -1774,8 +1791,6 @@ _FX NTSTATUS Ipc_NtAlpcConnectPort( if (status != STATUS_BAD_INITIAL_PC) __leave; - if (status == STATUS_BAD_INITIAL_STACK) - goto OpenTruePath; // // if trying to connect to a COM port, start our COM servers first @@ -1939,6 +1954,13 @@ _FX NTSTATUS Ipc_NtAlpcConnectPortEx( if(RpcRt_IsDynamicPortOpen(TruePath)) goto OpenTruePath; + // + // check if we are in app mode in which case proxying is not needed + // + + if (Dll_CompartmentMode) // NoServiceAssist + goto OpenTruePath; + // // check for proxy LPC port // @@ -1950,8 +1972,6 @@ _FX NTSTATUS Ipc_NtAlpcConnectPortEx( if (status != STATUS_BAD_INITIAL_PC) __leave; - if (status == STATUS_BAD_INITIAL_STACK) - goto OpenTruePath; // // if trying to connect to a COM port, start our COM servers first @@ -4224,13 +4244,6 @@ _FX NTSTATUS Ipc_ConnectProxyPort( _wcsicmp(TruePath, L"\\RPC Control\\plugplay") != 0) return STATUS_BAD_INITIAL_PC; - // - // check if we are in app mode in which case proxying is not needed, but we must indicate to open true path - // - - if (Dll_CompartmentMode) // NoServiceAssist - return STATUS_BAD_INITIAL_STACK; - status = STATUS_SUCCESS; // diff --git a/SandboxiePlus/version.h b/SandboxiePlus/version.h index bddd14a1..efb4ce68 100644 --- a/SandboxiePlus/version.h +++ b/SandboxiePlus/version.h @@ -2,7 +2,7 @@ #define VERSION_MJR 1 #define VERSION_MIN 10 -#define VERSION_REV 0 +#define VERSION_REV 1 #define VERSION_UPD 0 #ifndef STR