[Bug 34570] New: Game crash because of improperly cloning MMIOINFO struct in MMIO_Open
http://bugs.winehq.org/show_bug.cgi?id=34570 Bug #: 34570 Summary: Game crash because of improperly cloning MMIOINFO struct in MMIO_Open Product: Wine Version: 1.7.2 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winmm&mci AssignedTo: wine-bugs(a)winehq.org ReportedBy: jiashulu(a)gmail.com Classification: Unclassified Created attachment 46023 --> http://bugs.winehq.org/attachment.cgi?id=46023 A quick fix The game "Custom reido F" crashes on start. The problem is that the whole adwInfo[] array in MMIOINFO struct is used by the game, but wine only clones adwInfo[0] in MMIO_Open. A quick fix is attached. What is more, I checked MSDN: http://msdn.microsoft.com/en-us/library/windows/desktop/dd757322%28v=vs.85%2... and found that adwInfo[] array should have 4 elements instead of 3 in wine. This perhaps will cause problems in other programs. I am not sure which APIs are affected by this. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=34570 --- Comment #1 from jslu <jiashulu(a)gmail.com> 2013-09-22 04:31:05 CDT --- The adwInfo[] array should have 3 elements. MSDN is wrong. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=34570 Dmitry Timoshkov <dmitry(a)baikal.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #2 from Dmitry Timoshkov <dmitry(a)baikal.ru> 2013-09-23 19:42:45 CDT --- Please send the patch to wine-patches: http://wiki.winehq.org/SubmittingPatches -- 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.
http://bugs.winehq.org/show_bug.cgi?id=34570 --- Comment #3 from jslu <jiashulu(a)gmail.com> 2013-09-23 23:17:18 CDT --- Thanks for reminding me. I have sent the patch to wine-patches. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=34570 --- Comment #4 from Bruno Jesus <00cpxxx(a)gmail.com> 2013-09-25 14:26:03 CDT --- Patch commited: http://source.winehq.org/git/wine.git/?a=commit;h=a0ed65f5937e6eb13f6b2b345d... -- 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.
http://bugs.winehq.org/show_bug.cgi?id=34570 jslu <jiashulu(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #5 from jslu <jiashulu(a)gmail.com> 2013-09-25 19:33:19 CDT --- Mark as fixed. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=34570 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |a0ed65f5937e6eb13f6b2b345d8 | |d27fbd4616c32 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=34570 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Alexandre Julliard <julliard(a)winehq.org> 2013-09-27 13:41:30 CDT --- Closing bugs fixed in 1.7.3. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=34570 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.6.x -- 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.
http://bugs.winehq.org/show_bug.cgi?id=34570 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.6.x |--- --- Comment #7 from Alexandre Julliard <julliard(a)winehq.org> 2013-11-15 13:40:16 CST --- Removing 1.6.x milestone from bugs included in 1.6.1. -- 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.
participants (1)
-
wine-bugs@winehq.org