reactos/base/system
Hermès Bélusca-Maïto 87e2ec585f
[SMSS] Use RTL string-safe functions in critical places. Add validity checks for returned NtQueryValueKey() data. (#2704)
- Not all the wcscpy() / swprintf() calls have been converted to their
  string-safe equivalents. Instead I used the string-safe functions only
  for places where strings of unknown length were copied into fixed-size
  internal buffers. On the contrary, for known-fixed-length strings being
  copied or numbers being converted to string representations in large
  enough buffers, I kept the original function calls.

- Verify the registry data that has been returned by NtQueryValueKey():
  * When expecting (not multi) strings, check whether the data type is
    either REG_SZ or REG_EXPAND_SZ.
  * When expecting DWORD values, check whether the data type is
    REG_DWORD and whether the data length is (greater or) equal to
    sizeof(ULONG).
2020-10-10 16:25:22 +02:00
..
autochk [AUTOCHK] Improvements: code + command-line handling. 2018-07-29 16:21:09 +02:00
bootok Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
chkdsk [TRANSLATION] Chinese Traditional translation improvements (#3085) 2020-09-18 00:50:27 +02:00
diskpart [TRANSLATION] Chinese Traditional translation improvements (#3085) 2020-09-18 00:50:27 +02:00
dllhost [DLLHOST] Add dllhost to make the device driver extractor for my Lenovo T400 happy 2018-08-11 22:25:30 +02:00
expand [EXPAND] Sync with Wine Staging 3.3. CORE-14434 2018-04-01 13:12:40 +01:00
format [TRANSLATION] Chinese Traditional translation improvements (#3085) 2020-09-18 00:50:27 +02:00
logonui Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
lsass [LSASS] Initialize SAM before starting the security services 2019-08-10 14:36:10 +02:00
msiexec [MSIEXEC] Sync with Wine Staging 3.3. CORE-14434 2018-04-01 13:13:47 +01:00
regsvr32 [TRANSLATION] Chinese Traditional translation improvements (#3085) 2020-09-18 00:50:27 +02:00
rundll32 [TRANSLATION] Chinese Traditional translation improvements (#3085) 2020-09-18 00:50:27 +02:00
runonce [RUNONCE][USERINIT] Add Portuguese (neutral) translation. (#1656) 2019-06-17 15:12:12 +02:00
services [SERVICES] Use the local system account to run all services on a LiveCD 2020-01-08 00:15:52 +01:00
smss [SMSS] Use RTL string-safe functions in critical places. Add validity checks for returned NtQueryValueKey() data. (#2704) 2020-10-10 16:25:22 +02:00
subst [BASE] Improve Spanish (es-ES) translation (#3088) 2020-08-25 18:10:23 +03:00
userinit [TRANSLATION] Chinese Traditional translation improvements (#3085) 2020-09-18 00:50:27 +02:00
winlogon [WINLOGON] Display the shutdown message popup dialog on the current input desktop. (#3259) 2020-10-05 02:26:03 +02:00
CMakeLists.txt [DLLHOST] Add dllhost to make the device driver extractor for my Lenovo T400 happy 2018-08-11 22:25:30 +02:00