reactos/base/system/diskpart
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
..
lang [DISKPART] Update Polish (pl-PL) translation v2 (#4547) 2022-10-23 14:00:51 +03:00
active.c
add.c
assign.c
attach.c
attributes.c
automount.c
break.c
clean.c [DISKPART] Implement the clean command 2022-06-17 01:37:26 +02:00
CMakeLists.txt
compact.c
convert.c
create.c [DISKPART] Fix magic values in CreateLogicalPartition() and CreatePrimaryPartition() 2022-07-03 14:10:02 +02:00
delete.c
detach.c
detail.c
diskpart.c
diskpart.h [DISKPART] Print proper file system information for the FILESYSTEMS command 2022-06-19 16:12:10 +02:00
diskpart.rc
diskpart_msg.mc [DISKPART] Update Polish translation for message table (#4548) 2022-10-24 17:08:35 +03:00
dump.c
expand.c
extend.c
filesystems.c [DISKPART] Print proper file system information for the FILESYSTEMS command 2022-06-19 16:12:10 +02:00
format.c
gpt.c
help.c [DISKPART] Fix help for multi-word command crashing. (#4873) 2022-11-12 13:02:33 +01:00
import.c
inactive.c
interpreter.c [DISKPART] Support quoted command options in script files 2022-06-25 15:20:40 +02:00
list.c
merge.c
misc.c [DISKPART] Support quoted options in commands 2022-06-18 13:27:56 +02:00
offline.c
online.c
partlist.c [DISKPART] Print proper file system information for the FILESYSTEMS command 2022-06-19 16:12:10 +02:00
recover.c
remove.c
repair.c
rescan.c
resource.h [DISKPART] Print proper file system information for the FILESYSTEMS command 2022-06-19 16:12:10 +02:00
retain.c
san.c
select.c
setid.c [DISKPART] Implement the SETID command 2022-06-11 14:31:55 +02:00
shrink.c
uniqueid.c