[Bug 26389] Win3.1 Notepad crashes when opening a large file

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Nov 20 11:09:50 CST 2011


--- Comment #7 from Bruno Jesus <00cpxxx at gmail.com> 2011-11-20 11:09:50 CST ---
The agressor is in EDIT_LockBuffer:

Line 1195      es->text = LocalLock(es->hloc32W);

This memory alloc fails and is not tested, fortunately the next function called
(MultiByteToWideChar) protects itself agains NULL pointers.

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