dplayx: Fix static overrun of pDP array in test. (Coverity)
razielmine at gmail.com
Thu Sep 11 13:50:58 CDT 2008
On 9/10/08, Kai Blin <kai.blin at gmail.com> wrote:
> dlls/dplayx/tests/dplayx.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Sorry for the delay, I should have checked this before. I hadn't even
read the coverity thread.
The patch is incorrect, because EnumSessions_cb_join always receives a
LPDIRECTPLAY4 as lpContext argument, even if most callbacks receive a
lpCallbackData. The initialization of callbackData before the call was
an error on my side.
This patch fixes the double error.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the wine-patches