From 142907c0d28e95ccd7d428d4246567e701017dca Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Sat, 5 Jul 2008 13:02:58 +0400 Subject: [PATCH] gdiplus: Check arguments in GdipPathIterNextSubpath. --- dlls/gdiplus/pathiterator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/gdiplus/pathiterator.c b/dlls/gdiplus/pathiterator.c index bca9df0cab..026665a3a7 100644 --- a/dlls/gdiplus/pathiterator.c +++ b/dlls/gdiplus/pathiterator.c @@ -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;