From a20eaeff48e881720fa5456b117860a819b225fb Mon Sep 17 00:00:00 2001 From: DavidXanatos Date: Mon, 31 Jan 2022 22:40:52 +0100 Subject: [PATCH] 1.0.10 --- CHANGELOG.md | 15 +++++++++++++++ Sandboxie/core/dll/sysinfo.c | 17 +++++++---------- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6729430c..158d1a36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,21 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). + + +# [1.0.10 / 5.55.10] - 2022-01-?? + +### Added + +### Changed +- HideHostProcess=program.exe can now be used to hide sandboxie saervices [#1336](https://github.com/sandboxie-plus/Sandboxie/issues/1336) + +### Fixed +- fixed a couple issues with the new breakout process feature and improved security (thanks Diversenok) +- fixed issues with re opening already open windows [#1584](https://github.com/sandboxie-plus/Sandboxie/issues/1584) + + + ## [1.0.9 / 5.55.9] - 2022-01-31 ### Added diff --git a/Sandboxie/core/dll/sysinfo.c b/Sandboxie/core/dll/sysinfo.c index 7430d758..b7a70746 100644 --- a/Sandboxie/core/dll/sysinfo.c +++ b/Sandboxie/core/dll/sysinfo.c @@ -260,17 +260,14 @@ _FX void SysInfo_DiscardProcesses(SYSTEM_PROCESS_INFORMATION *buf) SbieApi_QueryProcess(next->UniqueProcessId, boxname, NULL, NULL, NULL); BOOL hideProcess = FALSE; - if (hideOther) { - if(boxname[0] && _wcsicmp(boxname, Dll_BoxName) != 0) - hideProcess = TRUE; + if (hideOther && *boxname && _wcsicmp(boxname, Dll_BoxName) != 0) { + hideProcess = TRUE; } - - if(hiddenProcesses) { - if ((!boxname[0]) && next->ImageName.Buffer) { - WCHAR* imagename = wcschr(next->ImageName.Buffer, L'\\'); - if (imagename) imagename += 1; // skip L'\\' - else imagename = next->ImageName.Buffer; - + else if(hiddenProcesses && next->ImageName.Buffer) { + WCHAR* imagename = wcschr(next->ImageName.Buffer, L'\\'); + if (imagename) imagename += 1; // skip L'\\' + else imagename = next->ImageName.Buffer; + if (!*boxname || _wcsnicmp(imagename, L"Sandboxie", 9) == 0) { for (hiddenProcessesPtr = hiddenProcesses; *hiddenProcessesPtr != L'\0'; hiddenProcessesPtr += wcslen(hiddenProcessesPtr) + 1) { if (_wcsicmp(imagename, hiddenProcessesPtr) == 0) { hideProcess = TRUE;