This commit is contained in:
DavidXanatos 2021-12-26 10:11:03 +01:00
commit 77f8af3a60
2 changed files with 9 additions and 6 deletions

View File

@ -28,6 +28,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- fixed grouping issues in SandMan UI [#1358](https://github.com/sandboxie-plus/Sandboxie/issues/1358)
- fixed issue with EnableWin32kHooks [#1458](https://github.com/sandboxie-plus/Sandboxie/issues/1458)
### Installers re-released with the following fix:
- fixed regression when launching Office apps [#1468](https://github.com/sandboxie-plus/Sandboxie/issues/1468)
## [1.0.4 / 5.55.4] - 2021-12-20

View File

@ -1,5 +1,5 @@
/*
* Copyright 2004-2020 Sandboxie Holdings, LLC
* Copyright 2004-2020 Sandboxie Holdings, LLC
* Copyright 2020 David Xanatos, xanasoft.com
*
* This program is free software: you can redistribute it and/or modify
@ -182,8 +182,8 @@ _FX void Ldr_LoadInjectDlls(BOOLEAN bHostInject)
WCHAR *dllname = Dll_AllocTemp(MAX_PATH * 2 * sizeof(WCHAR));
ULONG index = 0;
WCHAR *path = Dll_AllocTemp(1024 * sizeof(WCHAR));
SbieApi_GetHomePath(NULL, 0, path, 1020);
WCHAR *path = Dll_AllocTemp(1024 * sizeof(WCHAR));
SbieApi_GetHomePath(NULL, 0, path, 1020);
if (!__sys_LdrLoadDll)
__sys_LdrLoadDll = (P_LdrLoadDll)GetProcAddress(Dll_Ntdll, "LdrLoadDll");
@ -201,7 +201,7 @@ _FX void Ldr_LoadInjectDlls(BOOLEAN bHostInject)
}
//
// For expidient use we allow to enter the dll name without a path
// For expedient use we allow to enter the dll name without a path
// starting with \ in that case the DLL is looked for in %SbieHome%
//
@ -217,7 +217,7 @@ _FX void Ldr_LoadInjectDlls(BOOLEAN bHostInject)
//
else if (bHostInject)
continue;
continue;
//
@ -803,7 +803,7 @@ _FX void Ldr_Inject_Entry(ULONG_PTR *pRetAddr)
//
Ldr_LoadInjectDlls(g_bHostInject);
Dll_InitExeEntry();
}
else