[Bug 11073] crash in cmd.exe with lib.exe (VC++6.0)

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Nov 19 16:38:03 CST 2012


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

Jason Edmeades <us at edmeades.me.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|wine-bugs at winehq.org        |us at edmeades.me.uk

--- Comment #39 from Jason Edmeades <us at edmeades.me.uk> 2012-11-19 16:38:03 CST ---
Problem is heap corruption if a single parameter is > MAX_PATH characters,
because that's the length of the static buffer in WCMD_Parameter.

This fixes the problem:
-    static WCHAR param[MAX_PATH];
+    static WCHAR param[MAXSTRING];

Have a patch in my queue, will be sent in with my next batch.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list