reactos/base
Hermès Bélusca-Maïto b076800dd8
[SMSS] Fix the displayed subsystem name in the failure path of SmpSbCreateSession().
The SubSystemNames array didn't correlate with the possible values of
SubSystemType (e.g. index 4 was "Posix" whereas Posix is type 7; Posix
and OS/2 entries were inverted; Windows CUI subsystem (type 3) was
mapped to "Posix"), and the array dereferencing was out of bounds if the
SubSystemType of the image happened to be larger than 8.

I know (strings extraction from debug build of Windows' SMSS.EXE) that
they use that same old'n'broken array. Perhaps a leftover from very old
times (NT 3.1 betas) where the PE format was under work and the
subsystem numbers didn't have their definitive values... (This has
already happened with the NT PDK v1.196 from September 1991.)
2022-11-08 23:47:02 +01:00
..
applications [CHARMAP] Improve keyboard usability (#4839) 2022-11-06 08:37:18 +09:00
services [SECLOGON][ADVAPI] CreateProcessWithLogonW: Return process information to the caller 2022-07-24 01:08:13 +02:00
setup [SETUP][BOOTDATA][FONTS][INF] Delete DejaVu Sans Mono and re-map (#4856) 2022-11-07 11:34:19 +09:00
shell [EXPLORER] Implement "Undo Cascade/Tile" menu items (#4817) 2022-11-03 15:48:18 +03:00
system [SMSS] Fix the displayed subsystem name in the failure path of SmpSbCreateSession(). 2022-11-08 23:47:02 +01:00
CMakeLists.txt Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00