]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sun, 4 Feb 2018 01:52:28 +0000 (20:52 -0500)
committerCristy <urban-warrior@imagemagick.org>
Sun, 4 Feb 2018 01:52:28 +0000 (20:52 -0500)
MagickCore/blob.c

index cb0465917a8cbc5a6897390363cdf7058e07f54c..21fd72aed8bf553af391884783f805c9a38b254a 100644 (file)
@@ -4708,22 +4708,6 @@ MagickExport MagickOffsetType SeekBlob(Image *image,
           blob_info->eof=MagickFalse;
           break;
         }
-      if ((image->blob->mapped == MagickFalse) &&
-          ((image->blob->mode == WriteBlobMode) ||
-           (image->blob->mode == WriteBinaryBlobMode)))
-        {
-          image->blob->extent=(size_t) (image->blob->offset+
-            image->blob->quantum);
-          image->blob->quantum<<=1;
-          image->blob->data=(unsigned char *) ResizeQuantumMemory(
-            image->blob->data,image->blob->extent+1,sizeof(*image->blob->data));
-          (void) SyncBlob(image);
-          if (image->blob->data == (unsigned char *) NULL)
-            {
-              (void) DetachBlob(image->blob);
-              return(-1);
-            }
-        }
       if (blob_info->offset > (MagickOffsetType) ((off_t) blob_info->extent))
         return(-1);
       break;