[Bug 42731] stack overflow when .bat script variable has more than 256 characters

WineHQ Bugzilla wine-bugs at winehq.org
Fri Nov 13 10:02:08 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=42731

Damjan Jovanovic <damjan.jov at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |testcase
          Component|-unknown                    |cmd

--- Comment #2 from Damjan Jovanovic <damjan.jov at gmail.com> ---
Some buffers in WCMD_HandleTildeModifiers() are only of size MAX_PATH, even
though they handle strings that aren't necessarily files. When I change them to
have size MAXSTRING, the crash doesn't happen.

-- 
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