mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 12:04:35 +00:00
quartz: Fixed sizeof()s to IsBadReadPtr (Coverity).
This commit is contained in:
parent
626d0b75ba
commit
90dd4ea9a6
|
@ -517,8 +517,8 @@ static void test_parse_filter_data(void)
|
|||
pRegFilter =((REGFILTER2**)prgbRegFilter2)[0];
|
||||
ok (hr==S_OK,"Failed to Parse filter Data\n");
|
||||
|
||||
ok(IsBadReadPtr(prgbRegFilter2,sizeof(REGFILTER2**))==0,"Bad read pointer returned\n");
|
||||
ok(IsBadReadPtr(pRegFilter,sizeof(REGFILTER2*))==0,"Bad read pointer for FilterData\n");
|
||||
ok(IsBadReadPtr(prgbRegFilter2,sizeof(REGFILTER2*))==0,"Bad read pointer returned\n");
|
||||
ok(IsBadReadPtr(pRegFilter,sizeof(REGFILTER2))==0,"Bad read pointer for FilterData\n");
|
||||
ok(pRegFilter->dwMerit == 0x5fffff,"Incorrect merit returned\n");
|
||||
|
||||
out:
|
||||
|
|
Loading…
Reference in a new issue