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':');