[Bug 13469] cmd can't handle long input (buffer overflow)