[Bug 45769] 0CC-FamiTracker etc. crashes after saving, due to AfxFormatString1(out=in)

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Sep 4 18:11:39 CDT 2018


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

Fabian Maurer <dark.shadow4 at web.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #3 from Fabian Maurer <dark.shadow4 at web.de> ---
Confirming, actually does crash inside AfxFormatString1 due to overlapped
structure. When re-allocating the CString, the old content (for some reason)
loses its nullterminator, which leads in the string getting bigger than
expected, not fitting the resized string anymore.

Does more look like just undefined behavior than an issue in wine though. Or
maybe there is a bug that it loses the null terminator?

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