]> granicus.if.org Git - imagemagick/commitdiff
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5926
authorCristy <urban-warrior@imagemagick.org>
Sat, 3 Feb 2018 14:49:18 +0000 (09:49 -0500)
committerCristy <urban-warrior@imagemagick.org>
Sat, 3 Feb 2018 14:49:18 +0000 (09:49 -0500)
coders/xcf.c

index 72db89221f2357e33939e5c5c5a444c54cac2d35..7b62686dc2aed8d2eb0f88ca4cb0f6717e52b76a 100644 (file)
@@ -669,6 +669,7 @@ static MagickBooleanType load_level(Image *image,XCFDocInfo *inDocInfo,
       if (tile_image == (Image *) NULL)
         ThrowBinaryException(ResourceLimitError,"MemoryAllocationFailed",
           image->filename);
+      (void) SetImageBackgroundColor(tile_image,exception);
 
       /* read in the tile */
       switch (inDocInfo->compression)