diff --git a/CHANGELOG.md b/CHANGELOG.md index 69c683eb..a2b5e3ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,16 @@ This project adheres to [Semantic Versioning](http://semver.org/). + + +## [1.15.5 / 5.70.5] - 2024-12-?? + +### Fixed +- fixed crash when pressing run as admin with non advanced view + + + + ## [1.15.4 / 5.70.4] - 2024-12-19 ### Added diff --git a/Sandboxie/common/my_version.h b/Sandboxie/common/my_version.h index 92c46363..fb40c2fb 100644 --- a/Sandboxie/common/my_version.h +++ b/Sandboxie/common/my_version.h @@ -26,7 +26,7 @@ #define VERSION_MJR 5 #define VERSION_MIN 70 -#define VERSION_REV 4 +#define VERSION_REV 5 #define VERSION_UPD 0 #if VERSION_UPD > 0 diff --git a/SandboxiePlus/SandMan/SandMan.cpp b/SandboxiePlus/SandMan/SandMan.cpp index 5a853662..3dd1c104 100644 --- a/SandboxiePlus/SandMan/SandMan.cpp +++ b/SandboxiePlus/SandMan/SandMan.cpp @@ -452,7 +452,7 @@ void CSandMan::CreateMaintenanceMenu() m_pImDiskCpl = m_pMaintenance->addAction(LoadWindowsIcon(ImDiskCpl, 0), tr("Virtual Disks"), this, [ImDiskCpl]() { std::wstring imDiskCpl = ImDiskCpl.toStdWString(); SHELLEXECUTEINFOW si = { 0 }; - si.cbSize = sizeof(SHELLEXECUTEINFO); + si.cbSize = sizeof(si); si.lpVerb = L"runas"; si.lpFile = imDiskCpl.c_str(); si.nShow = SW_SHOW; @@ -2425,8 +2425,8 @@ void CSandMan::OnStatusChanged() #endif bool bConnected = theAPI->IsConnected(); - m_pConnect->setEnabled(!bConnected); - m_pDisconnect->setEnabled(bConnected); + if (m_pConnect) m_pConnect->setEnabled(!bConnected); + if (m_pDisconnect) m_pDisconnect->setEnabled(bConnected); if (bConnected) { diff --git a/SandboxiePlus/version.h b/SandboxiePlus/version.h index fb3baa97..8a6ce998 100644 --- a/SandboxiePlus/version.h +++ b/SandboxiePlus/version.h @@ -2,7 +2,7 @@ #define VERSION_MJR 1 #define VERSION_MIN 15 -#define VERSION_REV 4 +#define VERSION_REV 5 #define VERSION_UPD 0 #ifndef STR