http://bugs.winehq.org/show_bug.cgi?id=13469
--- Comment #11 from Diaa Sami diaasami@gmail.com 2009-01-30 21:03:36 --- Created an attachment (id=19115) --> (http://bugs.winehq.org/attachment.cgi?id=19115) Fixes the bug
This fixes the bug, the overflow doesn't happen anymore, I've tried up to ~4093 long command-lines(couldn't go beyond that because of some console/cmd/input limitation in wine), may be with a batch file I could go up to 8192.
I think that some tests should be added to make sure that long-command lines work with cmd