This commit is contained in:
DavidXanatos 2022-06-16 18:21:32 +02:00
parent 112fccd3c5
commit 94e9666539
4 changed files with 19 additions and 4 deletions

View File

@ -11,7 +11,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### Fixed ### Fixed
- fixed issue with recovery window on delete [#1948](https://github.com/sandboxie-plus/Sandboxie/issues/1948) - fixed issue with recovery window on delete [#1948](https://github.com/sandboxie-plus/Sandboxie/issues/1948)
- fixed double click issue on path column [#1951](https://github.com/sandboxie-plus/Sandboxie/issues/1951)
- "AllowBoxedJobs=n" is back the default behaviour as issues were reported [#1954](https://github.com/sandboxie-plus/Sandboxie/issues/1954)
- fixed issue with internet block [#1955](https://github.com/sandboxie-plus/Sandboxie/issues/1955)
- fixed grouping issuein the plus ui [#1950](https://github.com/sandboxie-plus/Sandboxie/issues/1950)
### Changed
- updated classic ui swedish translation (thx pb1)

View File

@ -2445,6 +2445,7 @@ _FX NTSTATUS File_NtCreateFileImpl(
WCHAR* OriginalPath; WCHAR* OriginalPath;
BOOLEAN TrueOpened; BOOLEAN TrueOpened;
//char *pPtr = NULL; //char *pPtr = NULL;
BOOLEAN SkipOriginalTry;
//if (wcsstr(Dll_ImageName, L"chrome.exe") != 0) { //if (wcsstr(Dll_ImageName, L"chrome.exe") != 0) {
// *pPtr = 34; // *pPtr = 34;
@ -2518,6 +2519,7 @@ _FX NTSTATUS File_NtCreateFileImpl(
OriginalPath = NULL; OriginalPath = NULL;
TrueOpened = FALSE; TrueOpened = FALSE;
SkipOriginalTry = FALSE;
__try { __try {
@ -2579,6 +2581,8 @@ _FX NTSTATUS File_NtCreateFileImpl(
} }
} }
SkipOriginalTry = (status == STATUS_BAD_INITIAL_PC);
//if ( (wcsstr(TruePath, L"Harddisk0\\DR0") != 0) || wcsstr(TruePath, L"HarddiskVolume3") != 0) { //if ( (wcsstr(TruePath, L"Harddisk0\\DR0") != 0) || wcsstr(TruePath, L"HarddiskVolume3") != 0) {
// while (! IsDebuggerPresent()) { OutputDebugString(L"BREAK\n"); Sleep(500); } // while (! IsDebuggerPresent()) { OutputDebugString(L"BREAK\n"); Sleep(500); }
// __debugbreak(); // __debugbreak();
@ -3654,7 +3658,7 @@ ReparseLoop:
// accessible, so try to access the real file // accessible, so try to access the real file
// //
if (Dll_RestrictedToken && status == STATUS_ACCESS_DENIED) { if (Dll_RestrictedToken && status == STATUS_ACCESS_DENIED && !SkipOriginalTry) {
status = __sys_NtCreateFile( status = __sys_NtCreateFile(
FileHandle, DesiredAccess, ObjectAttributes, IoStatusBlock, FileHandle, DesiredAccess, ObjectAttributes, IoStatusBlock,

View File

@ -1021,7 +1021,12 @@ _FX LONG SbieApi_CheckInternetAccess(
// //
BOOLEAN chk = FALSE; BOOLEAN chk = FALSE;
if (len == 6) { if (len == 12) {
if (_wcsnicmp(ptr, File_Afd, 3) == 0) // Afd\Endpoint
chk = TRUE;
} else if (len == 6) {
if (_wcsnicmp(ptr, File_RawIp, 6) == 0) if (_wcsnicmp(ptr, File_RawIp, 6) == 0)
chk = TRUE; chk = TRUE;

View File

@ -323,7 +323,7 @@ void CSbieView::Refresh()
foreach(const QVariant& ID, Added) { foreach(const QVariant& ID, Added) {
if (ID.type() == QVariant::String) { if (ID.type() == QVariant::String) {
QString id = ID.toString(); QString id = ID.toString();
if (id.left(1) == "!") id.remove(0, 1); // remove group group marker "!" if (id.left(1) != "!")
m_Groups[""].append(id); m_Groups[""].append(id);
} }
} }