http://bugs.winehq.org/show_bug.cgi?id=13469
Diaa Sami diaasami@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #19115|0 |1 is obsolete| |
--- Comment #14 from Diaa Sami diaasami@gmail.com 2009-02-04 09:17:43 --- (From update of attachment 19236) This patch allows command-lines as long as 8192 character when using the interactive input(not /c or batch files), any limitations imposed by this patch come from Windows' cmd.exe
I wrote a small testsuite for cmd and I'll work on expanding and automating it and adding it to wine.
Detailed changes: Fixed a number of buffer overflows (based on limits of Windows cmd.exe): - Each of param1 and param2 can be almost as long as MAXSTRING(actually a few characters shorter) so their length was changed. - Fixed an overflow with long program names(aka stemofsearch), it can't be equal to or longer than MAX_PATH. - Fixed an overflow in WCMD_DumpCommands with long commands by removing the fixed-length buffer and using WINE_TRACE instead of buffer+sprintf.