mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
gdiplus: Check arguments in GdipPathIterNextSubpath.
This commit is contained in:
parent
20501e4ca8
commit
142907c0d2
@ -151,7 +151,7 @@ GpStatus WINGDIPAPI GdipPathIterNextSubpath(GpPathIterator* iterator,
|
||||
{
|
||||
INT i, count;
|
||||
|
||||
if(!iterator)
|
||||
if(!iterator || !startIndex || !endIndex || !isClosed || !resultCount)
|
||||
return InvalidParameter;
|
||||
|
||||
count = iterator->pathdata.Count;
|
||||
|
Loading…
Reference in New Issue
Block a user