reactos/base
Marcin Jabłoński 6a3a79bb72
[DISKPART] Fix help for multi-word command crashing. (#4873)
* [DISKPART] Fix help for multi-word command crashing.

When the HELP command is executed for a multi-word command,
for example "HELP CREATE PARTITION PRIMARY", diskpart crashes.
This happens because before the desired form of the command
is encountered, its single word form is found - since the first word
of the command matches the one HELP is looking for, it tries to
compare the second word of the input command with the second
(nonexistent) word of the encountered single word command,
which is NULL. This results in diskpart crashing.
The fix makes HELP check if the to-be-compared word is not NULL,
before calling wcsicmp.
2022-11-12 13:02:33 +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][INF][MEDIA] Get rid of the last Ubuntu references CORE-18607 (#4871) 2022-11-12 12:44:54 +01:00
shell [EXPLORER] Implement "Undo Cascade/Tile" menu items (#4817) 2022-11-03 15:48:18 +03:00
system [DISKPART] Fix help for multi-word command crashing. (#4873) 2022-11-12 13:02:33 +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