[Bug 24192] Star Trek: Legacy exits when trying to play sound effect

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Sep 16 16:52:38 CDT 2010


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

--- Comment #1 from Vincent Povirk <madewokherd at gmail.com> 2010-09-16 16:52:38 CDT ---
According to http://msdn.microsoft.com/en-us/library/aa365430%28VS.85%29.aspx,
"you cannot use the OpenFile function to open a file with a path length that
exceeds 128 characters."

That particular path is 130 characters long. SearchPath fails, but OpenFile
(incorrectly) continues anyway and tries to use uninitialized memory, causing
ERROR_INVALID_NAME. OpenFile should (apparently) fail, but with a different
error code.

This needs a testcase.

Maybe you can work around this by choosing a different, shorter path for the
install.

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