[Bug 17229] TGB Dual crashes when opening files

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jun 9 14:23:25 CDT 2012


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

--- Comment #11 from Bruno Jesus <00cpxxx at gmail.com> 2012-06-09 14:23:25 CDT ---
The caller didn't allocate space for ofn->lpstrFile so it left it NULL in the
structure, then it was not filled due to line 2652. Currently the code assume
the variable was set and use it anyway leading to a crash. A correct fix would
be to avoid using ofn->lpstrFile and use lpstrPathAndFile directly after proper
unicode to char convertion.

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