http://bugs.winehq.org/show_bug.cgi?id=26121
Summary: msacm32/msacm test shows an invalid read under valgrind Product: Wine Version: 1.3.13 Platform: x86 OS/Version: Linux Status: NEW Keywords: download, source, testcase Severity: minor Priority: P2 Component: msacm32 AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Invalid read of size 4 at MSACM_GetObj (internal.c:812) by MSACM_GetDriver (internal.c:830) by acmDriverClose (driver.c:195) by DriverEnumProc (msacm.c:374) by acmDriverEnum (driver.c:345) by msacm_tests (msacm.c:485) by func_msacm (msacm.c:493) by run_test (test.h:556) by main (test.h:624) Address 0x7f240a00 is 0 bytes inside a block of size 20 free'd at notify_free (heap.c:262) by RtlFreeHeap (heap.c:1747) by acmDriverClose (driver.c:218) by DriverEnumProc (msacm.c:368) by acmDriverEnum (driver.c:345) by msacm_tests (msacm.c:485) by func_msacm (msacm.c:493) by run_test (test.h:556) by main (test.h:624)
Expected, since we're doing: /* try valid parameters */ rc = acmDriverClose(had, 0); ok(rc == MMSYSERR_NOERROR, "acmDriverClose(): rc = %08x, should be %08x\n", rc, MMSYSERR_NOERROR);
/* try closing again */ rc = acmDriverClose(had, 0); ok(rc == MMSYSERR_INVALHANDLE, "acmDriverClose(): rc = %08x, should be %08x\n", rc, MMSYSERR_INVALHANDLE);
Placeholder bug.