Under Linux (or cygwin) the shell could generate very easy a longer line. For example if the program argument is "*.jpg" (I would like to write a simple test application an image viewer) AND the current directory
containing a lot of (more than 100) jpeg files the shell will generate a list from all of these file names which will be longer than 1023 character.
In console-main.c there is no check on the max so the code will overwrite the variable in memory after the allocated command string.