gdiplus: Check arguments in GdipPathIterNextSubpath.

This commit is contained in:
Nikolay Sivov 2008-07-05 13:02:58 +04:00 committed by Alexandre Julliard
parent 20501e4ca8
commit 142907c0d2
1 changed files with 1 additions and 1 deletions

View File

@ -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;