Skip to content

Commit

Permalink
https://github.com/ImageMagick/ImageMagick/issues/506
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Jun 4, 2017
1 parent 36a2d4a commit c6a9837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magick/blob.c
Expand Up @@ -4436,11 +4436,11 @@ MagickExport ssize_t WriteBlob(Image *image,const size_t length,

assert(image != (Image *) NULL);
assert(image->signature == MagickSignature);
assert(data != (const unsigned char *) NULL);
assert(image->blob != (BlobInfo *) NULL);
assert(image->blob->type != UndefinedStream);
if (length == 0)
return(0);
assert(data != (const unsigned char *) NULL);
count=0;
p=data;
switch (image->blob->type)
Expand Down

0 comments on commit c6a9837

Please sign in to comment.