Commit 349f8349 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

winmm: Initialize AUXCAPSA.wReserved1 returned from auxGetDevCapsA() (Coverity).

parent e528765a
......@@ -229,6 +229,7 @@ UINT WINAPI auxGetDevCapsA(UINT_PTR uDeviceID, LPAUXCAPSA lpCaps, UINT uSize)
WideCharToMultiByte( CP_ACP, 0, acW.szPname, -1, acA.szPname,
sizeof(acA.szPname), NULL, NULL );
acA.wTechnology = acW.wTechnology;
acA.wReserved1 = 0;
acA.dwSupport = acW.dwSupport;
memcpy(lpCaps, &acA, min(uSize, sizeof(acA)));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment