This commit is contained in:
DavidXanatos 2021-12-11 20:50:04 +01:00
parent 332bc0e83e
commit 7ec3545581
3 changed files with 4 additions and 2 deletions

View File

@ -14,6 +14,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### ###
- fixed bug in GetVersionExW making "OverrideOsBuild=..." not working - fixed bug in GetVersionExW making "OverrideOsBuild=..." not working
- fixed issue with some utf8 charakters when usded in the ini file
## [1.0.2 / 5.55.2] - 2021-12-08 ## [1.0.2 / 5.55.2] - 2021-12-08

View File

@ -499,7 +499,7 @@ NTSTATUS Stream_Read_Wchar(
wchar_t lowShort = (wchar_t)(cur_byte & 0x3F); wchar_t lowShort = (wchar_t)(cur_byte & 0x3F);
//Create the UTF-16 code unit, then increment the iterator //Create the UTF-16 code unit, then increment the iterator
int unicode = (highShort << 8) | lowShort; int unicode = (highShort << 6) | lowShort;
//Check to make sure the "unicode" is in the range [0..D7FF] and [E000..FFFF]. //Check to make sure the "unicode" is in the range [0..D7FF] and [E000..FFFF].
if ((0 <= unicode && unicode <= 0xD7FF) || (0xE000 <= unicode && unicode <= 0xFFFF)) { if ((0 <= unicode && unicode <= 0xD7FF) || (0xE000 <= unicode && unicode <= 0xFFFF)) {

View File

@ -151,7 +151,7 @@ _FX NTSTATUS SbieDll_WoW64SysCall(ULONG syscall, ULONG* args)
extern HANDLE SbieApi_DeviceHandle; extern HANDLE SbieApi_DeviceHandle;
ULONG argc = (syscall >> 24); ULONG argc = (syscall >> 24);
syscall &= 0x00FFFFFF; syscall &= 0xFFFF;
ULONG64 stack[19]; ULONG64 stack[19];
for (ULONG i = 0; i < argc; i++) for (ULONG i = 0; i < argc; i++)