From: cristy Date: Sat, 2 May 2015 22:08:50 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~1074 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f2ad65b9bf8f6d1b899b7b7deab7cba6dd40f17;p=imagemagick --- diff --git a/MagickCore/blob.c b/MagickCore/blob.c index 35a0add49..a608b5997 100644 --- a/MagickCore/blob.c +++ b/MagickCore/blob.c @@ -205,7 +205,6 @@ MagickExport void AttachBlob(BlobInfo *blob_info,const void *blob, blob_info->file_info.file=(FILE *) NULL; blob_info->data=(unsigned char *) blob; blob_info->mapped=MagickFalse; - blob_info->immutable=MagickTrue; } /* @@ -2411,6 +2410,7 @@ MagickExport MagickBooleanType OpenBlob(const ImageInfo *image_info, { if (image_info->stream != (StreamHandler) NULL) image->blob->stream=(StreamHandler) image_info->stream; + image_info->blob->immutable=MagickTrue; AttachBlob(image->blob,image_info->blob,image_info->length); return(MagickTrue); }