Fixed a number of buffer overflows with cmd, bug #13469 (try 2)
diaasami at gmail.com
Mon Mar 2 12:45:50 CST 2009
Fixed a number of buffer overflows in cmd(based on limits of Windows cmd)
- Each of quals, 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(which is stored in 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8063 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090302/a0c87b48/attachment.bin
More information about the wine-patches