winealsa.drv:mmdevapi input validation

2011-06-03 Thread Joerg-Cyril.Hoehle
Andrew Eikum wrote: >Frankly, I see little reason to spend time implementing special handling >of exclusive mode unless we find an app that does something that requires it. Actually, I don't know whether any of the apps I own can use mmdevapi. I've been looking at it because I believe you are goi

Re: winealsa.drv:mmdevapi input validation

2011-06-01 Thread Andrew Eikum
Hi Joerg, On 06/01/2011 07:00 AM, joerg-cyril.hoe...@t-systems.com wrote: because of bug #27087, I had a look at the emerging mmdevapi code. Actually, it's the first time I read its documentation on MSDN. Here are a few comments of mine while reading the code. Thanks for the careful review!

winealsa.drv:mmdevapi input validation

2011-06-01 Thread Joerg-Cyril.Hoehle
Hi, because of bug #27087, I had a look at the emerging mmdevapi code. Actually, it's the first time I read its documentation on MSDN. Here are a few comments of mine while reading the code. The handling of duration (-> buffer size) in winealsa.drv/mmdevdrv.c:AudioClient_Initialize does not perfo