clean up and standardize types across the codebase, unify atomic operations, improve UTF-8 handling throughout the system, remove obsolete input and named queue interfaces, redesign process preparation and creation, tighten IPC and service boundaries, improve error handling and reliability, minor documentation cleanup, fix doom surfaces, fix panic in ini parsing.
This commit is contained in:
1 parent
899225f551
commit
c0ad63c27f
226 files changed
+6562
-4147
No files matched your search
@@ -188,7 +188,8 @@ static KSTATUS KiRegisterGlobalModule(const char* name, uintptr_t base, size_t s
|
||||
|
||||
size_t nameLength = 0;
|
||||
while (nameLength < LDR_KERNEL_MODULE_NAME_MAX && name[nameLength]) nameLength++;
|
||||
if (nameLength == 0 || nameLength >= LDR_KERNEL_MODULE_NAME_MAX)
|
||||
if (nameLength == 0 || nameLength >= LDR_KERNEL_MODULE_NAME_MAX ||
|
||||
!SysSvIsUtf8Text(SysSvFromParts(name, nameLength)))
|
||||
return NTLSTATUS_INVALID_PARAMETER;
|
||||
|
||||
MODULE_ENTRY* entry = (MODULE_ENTRY*)MmAllocatePool(sizeof(MODULE_ENTRY));
|
||||
|
||||
Reference in new issue
Block a user