[Bug 42731] stack overflow when .bat script variable has more than 256 characters
WineHQ Bugzilla
wine-bugs at winehq.org
Thu Nov 12 23:00:59 CST 2020
https://bugs.winehq.org/show_bug.cgi?id=42731
Damjan Jovanovic <damjan.jov at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
CC| |damjan.jov at gmail.com
--- Comment #1 from Damjan Jovanovic <damjan.jov at gmail.com> ---
A +cmd trace shows this just before the overflow:
00fc:trace:cmd:handleExpansion Translate command:L"REM -- 2 %~1" 0 (at: L"%~1")
00fc:trace:cmd:WCMD_HandleTildeModifiers Looking backwards for parameter id:
L"1"
Deleting this line also stops it from crashing:
REM -- 2 %~1
--
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