reactos/ntoskrnl
George Bișoc 6438b85605
[NTOS:EX] Bail out on an invalid locale or language ID
NtSetDefaultLocale and ExpSetCurrentUserUILanguage do not probe the given locale or language ID,
and as a result of that these functions would happily take any given argument. This is problematic
because overwriting NLS data (specifically the Default registry key value as its gets set by the
NtSetDefaultLocale syscall itself) with garbage stuff, rendering the system completely unbootable.

In addition to that, these functions do not check the captured language/locale ID against pre-determined
locales or languages pre-installed in the system. This basically means an ID of 1, for example, is still
valid because it is not bogus albeit there is no such a locale of an ID of 1. That value would get passed
to the Default value key and that renders the system unbootable as well.

CORE-18100
2023-11-16 21:09:05 +01:00
..
cache [NTOS:Mm] Fix race condition in _MmSetPageEntrySectionSegment 2023-07-29 14:00:44 +03:00
cc [NTOS:CC][NTOS:MM] Add back CcRosTrimCache and add Delay for MM to work. (#5630) 2023-09-06 13:34:25 +02:00
config [NTOS:CM] Use COMPUTE_HASH_CHAR to compute the conv hash key 2023-10-03 11:01:21 +02:00
dbgk
ex [NTOS:EX] Bail out on an invalid locale or language ID 2023-11-16 21:09:05 +01:00
fsrtl [NTOS] Properly implement and use FsRtlAcquireFileForModWriteEx 2022-11-02 19:41:04 +01:00
fstub
inbv 🎊 🍾 🥳 Happy New Year 2023 to the ReactOS Community! 🎆 ⚛️ ☢️ 2023-01-01 00:00:00 +03:00
include [NTOS:EX][CSRSRV][WIN32K] Make a few #define more explicit/strict (#5907) 2023-11-13 20:55:48 +01:00
io [NTOS:IO] Implement IoConnectInterruptEx for fully specified interrupt types (#5416) 2023-07-14 16:17:27 -07:00
kd [NTOS:KD] Fix release builds. 2023-08-31 17:10:34 +02:00
kd64 [NTOS] Include kdbg/kdb.h only in the files that really need it. 2023-04-11 00:44:10 +02:00
kdbg [NTOS:KD:KDBG] Integration into KD framework (Part 2/3) 2023-08-31 16:09:49 +02:00
ke [NTOS:KE/x64] Implement detection of more KF_* feature flags 2023-10-03 19:45:44 +03:00
lpc [NTOS:LPC] Fix input parameter for ProbeAndCaptureUnicodeString (#5815) 2023-10-23 18:18:45 +02:00
mm [NTOS:MM] Add ASSERTs for VAD table locking 2023-10-24 21:45:27 +03:00
ntkrnlmp
ob [NTOS:OB] Fix the SAL2 annotation of ObQueryTypeInfo 2023-04-22 17:18:57 +02:00
po
ps [NTOS:MM/PS] Remove code duplication between LookupEntryPoint/MiLocateExportName/MiFindExportedRoutineByName. (#4918) 2023-08-29 17:26:57 +02:00
rtl [RTL] Minor formatting, remove redundant 'return'. 2023-11-16 17:06:40 +01:00
se [NTOS:SE] Mute the access denied DPRINTs 2023-10-04 18:04:30 +02:00
tests
vdm
vf
wmi
CMakeLists.txt [CMAKE] Elimitate the use of GCC and CLANG variables 2022-05-27 01:37:34 +03:00
guid.c
KrnlFun.c
ntdll.S
ntos.cmake [RTL] Get rid of x86 asm version of RtlpGetStackLimits 2023-11-10 19:00:41 +02:00
ntoskrnl.rc
ntoskrnl.spec [NTOS:IO] Implement IoConnectInterruptEx for fully specified interrupt types (#5416) 2023-07-14 16:17:27 -07:00
sysfuncs.lst