cmd: Expand the storage space for qualifiers.
commitdce5f89e48cc63668b90fbf2a435cbb54bcf4571
authorJason Edmeades <us@edmeades.me.uk>
Sun, 15 Jul 2018 22:15:28 +0000 (15 23:15 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 16 Jul 2018 07:19:04 +0000 (16 09:19 +0200)
tree802eeb371843107ed3c8ee31d4476b8557781003
parent4030a952095398e5a42f0a74213f6a1e9186c4bc
cmd: Expand the storage space for qualifiers.

When parsing a command, after the first '/' we store the characters away
in quals. The command itself can be MAXSTRING in bytes, but the quals was
limited to MAX_PATH. This is incorrect, as you can provide very long
qualifiers as well. Expand the space to allow the maximum size possible.

Signed-off-by: Jason Edmeades <us@edmeades.me.uk>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
programs/cmd/wcmd.h
programs/cmd/wcmdmain.c