[Bug 16692] Morrowind Construction Set Crashes on Saving New Plugin

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Apr 6 11:28:36 CDT 2012


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

--- Comment #11 from Juan Lang <juan.lang at gmail.com> 2012-04-06 11:28:36 CDT ---
(In reply to comment #10)
> The OPENFILENAMEA structure given to GetSaveFileNameA() have a nMaxFile of 0
> and NULL lpstrFile.
> 
> According to what I found on MSDN this does not appear to be valid values. "The
> GetOpenFileName and GetSaveFileName functions return FALSE if the buffer is too
> small to contain the file information. The buffer should be at least 256
> characters long." [1]

Interesting.  Should be relatively simple to write a test case for
GetSaveFileNameA.  Care to give it a go?

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