cmd: Don't overflow parameter length when copying substring.
authorJason Edmeades <jason@edmeades.me.uk>
Thu, 25 Oct 2012 20:17:13 +0000 (21:17 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 6 Nov 2012 15:02:38 +0000 (16:02 +0100)
commit7c3f3d09dd589430060f3f0bee6d813e213c65f3
treedcb1a3ef649efca20b839de47ad73e8ac0a66383
parent37035e53cd0f4dec9b89ffbee87f480abaae25c8
cmd: Don't overflow parameter length when copying substring.
programs/cmd/tests/test_builtins.cmd.exp
programs/cmd/wcmdmain.c