[Bug 2892] wcmd uses unsafe vsprintf

Wine Bugs wine-bugs at winehq.org
Sat Apr 23 08:29:05 CDT 2005


http://bugs.winehq.org/show_bug.cgi?id=2892





------- Additional Comments From basic at mozdev.org  2005-23-04 08:29 -------
Created an attachment (id=845)
 --> (http://bugs.winehq.org/attachment.cgi?id=845&action=view)
replace vsprintf with vsnprintf

here's a patch to replace vsprintf with vsnprintf, it will truncate the output
if it is too long. Not sure if this is the right fix though.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list