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