From fe0c8c795256f858e047d5ca0cc6f68f92bfc67c Mon Sep 17 00:00:00 2001 From: DavidXanatos <3890945+DavidXanatos@users.noreply.github.com> Date: Sun, 12 May 2024 17:55:06 +0200 Subject: [PATCH] 1.14.0 --- CHANGELOG.md | 6 +++--- Sandboxie/core/dll/dns_filter.c | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c89c56c9..10fa92bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,10 +10,10 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Added - Add option to limit the memory of sandboxed process and the number of process in single sandbox through job object. (thanks Yeyixiao) - -Use "TotalMemoryLimit"(Number,limit whole sandbox) and "ProcessMemoryLimit"(Number,limit single process) to set. + - Use "TotalMemoryLimit"(Number,limit whole sandbox) and "ProcessMemoryLimit"(Number,limit single process) to set. - Add ability to modified sandboxed process logic speed (reduced fixed latency, modified single-player speed, etc.) (thanks Yeyixiao) - -Use "UseChangeSpeed=y" to open this feature,use "AddTickSpeed"/"AddSleepSpeed"/"AddTimerSpeed"/"LowTickSpeed"/"LowSleepSpeed"/"LowTimerSpeed"(Number) to set. - -When set "AddSleepSpeed=0",all Sleep funcation call will be skip. + - Use "UseChangeSpeed=y" to open this feature,use "AddTickSpeed"/"AddSleepSpeed"/"AddTimerSpeed"/"LowTickSpeed"/"LowSleepSpeed"/"LowTimerSpeed"(Number) to set. + - When set "AddSleepSpeed=0",all Sleep funcation call will be skip. - Added /fcp /force_children commandline option to start.exe it allows to start a program unsandboxed but have all its children sandboxed - added ability to fore sandboxed processes to use a pre defined socks 5 proxy diff --git a/Sandboxie/core/dll/dns_filter.c b/Sandboxie/core/dll/dns_filter.c index a7817159..a8e96c27 100644 --- a/Sandboxie/core/dll/dns_filter.c +++ b/Sandboxie/core/dll/dns_filter.c @@ -192,15 +192,15 @@ _FX BOOLEAN WSA_InitNetDnsFilter(HMODULE module) WSA_FilterEnabled = TRUE; map_init(&WSA_LookupMap, Dll_Pool); - } - SCertInfo CertInfo = { 0 }; - if (!NT_SUCCESS(SbieApi_Call(API_QUERY_DRIVER_INFO, 3, -1, (ULONG_PTR)&CertInfo, sizeof(CertInfo))) || !CERT_IS_ADVANCED(CertInfo)) { + SCertInfo CertInfo = { 0 }; + if (!NT_SUCCESS(SbieApi_Call(API_QUERY_DRIVER_INFO, 3, -1, (ULONG_PTR)&CertInfo, sizeof(CertInfo))) || !CERT_IS_ADVANCED(CertInfo)) { - const WCHAR* strings[] = { L"NetworkDnsFilter" , NULL }; - SbieApi_LogMsgExt(-1, 6009, strings); + const WCHAR* strings[] = { L"NetworkDnsFilter" , NULL }; + SbieApi_LogMsgExt(-1, 6009, strings); - WSA_FilterEnabled = FALSE; + WSA_FilterEnabled = FALSE; + } } //