mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 19:43:31 +08:00
b076800dd8
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.) |
||
---|---|---|
.. | ||
applications | ||
services | ||
setup | ||
shell | ||
system | ||
CMakeLists.txt |