From 5d898c67cf1c1a9a9a71b6500eb86654da27d665 Mon Sep 17 00:00:00 2001 From: DavidXanatos <3890945+DavidXanatos@users.noreply.github.com> Date: Sun, 21 Jul 2024 17:46:39 +0200 Subject: [PATCH] 1.14.5 --- CHANGELOG.md | 1 + Sandboxie/core/svc/comserver.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c5e6fd70..10c5e08a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - changed reg path to key "HKCU\\System\\SbieCustom", value: "SMBiosTable" - added UI options - fixed schannel error SEC_E_SECPKG_NOT_FOUND in encrypted sandboxes [#4081](https://github.com/sandboxie-plus/Sandboxie/issues/4081) +- fixed The name of the sandbox is too long, causing an error in sbie2327 [#4064](https://github.com/sandboxie-plus/Sandboxie/issues/4064) ### Changed - the certificate format can now take an explicit validity days specification, needed for gapless certificate renewal diff --git a/Sandboxie/core/svc/comserver.cpp b/Sandboxie/core/svc/comserver.cpp index 5d6ec86b..e3125749 100644 --- a/Sandboxie/core/svc/comserver.cpp +++ b/Sandboxie/core/svc/comserver.cpp @@ -1348,7 +1348,7 @@ void ComServer::RunSlave(const WCHAR *cmdline) // locate IPC objects set up by the parent process SbieSvc // - if (wcslen(cmdline) > 100) + if (wcslen(cmdline) > 128) return; if (wcsstr(cmdline, SANDBOXIE L"_ComProxy_ComServer:")) { @@ -1365,7 +1365,7 @@ void ComServer::RunSlave(const WCHAR *cmdline) return; } - WCHAR objname[192]; + WCHAR objname[256]; wcscpy(objname, _Global); wcscat(objname, cmdline); WCHAR *colon = wcsrchr(objname, L':');