]> granicus.if.org Git - imagemagick/blobdiff - coders/magick.c
(no commit message)
[imagemagick] / coders / magick.c
index ac121ac09b7dc45ece68c7f85a00b6268564bac8..3c38023d3bdae900a625695d5fca186eae584add 100644 (file)
@@ -17,7 +17,7 @@
 %                                 July 1992                                   %
 %                                                                             %
 %                                                                             %
-%  Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization      %
+%  Copyright 1999-2012 ImageMagick Studio LLC, a non-profit organization      %
 %  dedicated to making software imaging solutions freely available.           %
 %                                                                             %
 %  You may not use this file except in compliance with the License.  You may  %
@@ -13534,6 +13534,8 @@ static MagickBooleanType WriteMAGICKImage(const ImageInfo *image_info,
   (void) DestroyImageInfo(write_info);
   if (blob == (void *) NULL)
     return(MagickFalse);
+  assert(exception != (ExceptionInfo *) NULL);
+  assert(exception->signature == MagickSignature);
   status=OpenBlob(image_info,image,WriteBinaryBlobMode,exception);
   if (status == MagickFalse)
     return(status);