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