From: glennrp Date: Wed, 22 Jan 2014 04:21:08 +0000 (+0000) Subject: Fix problem with "property" intialization in the new swap-bytes code X-Git-Tag: 7.0.1-0~2813 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0a0ae989beceb8f5e6a5ce17844047c27ada13f6;p=imagemagick Fix problem with "property" intialization in the new swap-bytes code --- diff --git a/coders/png.c b/coders/png.c index def1d61a6..ad9c4bc92 100644 --- a/coders/png.c +++ b/coders/png.c @@ -2469,6 +2469,7 @@ static Image *ReadOnePNGImage(MngInfo *mng_info, property=(const char *) NULL; ResetImagePropertyIterator(image); + property=GetNextImageProperty(image); while (property != (const char *) NULL) { (void) GetImageProperty(image,property,exception);