]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Fri, 25 Sep 2009 03:21:42 +0000 (03:21 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Fri, 25 Sep 2009 03:21:42 +0000 (03:21 +0000)
coders/meta.c

index e3928e06b72b5426687d1eef65e16f882584819e..9254b5b5419d367847c6107e506842c12939dfa4 100644 (file)
@@ -1642,6 +1642,8 @@ static size_t GetIPTCStream(unsigned char **info,size_t length)
         *info=p; /* let the caller know were it is */
         return(extent);
       }
+    if (tag_length & 0x01) 
+      tag_length++;
     p+=tag_length;
     extent-=tag_length;
   }