[Bug 27393] mmdevapi uninitialiased memory access and crash past rendering

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jul 26 09:06:44 CDT 2011


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

--- Comment #4 from Andrew Eikum <aeikum at codeweavers.com> 2011-07-26 09:06:44 CDT ---
Created an attachment (id=35702)
 --> (http://bugs.winehq.org/attachment.cgi?id=35702)
winealsa.drv: Fix AudioRenderClient write pointer calculation

Thanks for the nice analysis, Jörg. I think the problem is calculating the
buffer write pointer incorrectly. If you look at the patch, you'll see two
spots where it calculates the write pointer offset using only lcl_offs_frames.
It should use (lcl_offs_frames + held_frames). This patch changes that.

I wasn't able to reproduce your crash here, unfortunately. So please give this
a try and see if it's any better.

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