]> granicus.if.org Git - imagemagick/commitdiff
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13896
authorCristy <mikayla-grace@urban-warrior.org>
Sun, 24 Mar 2019 19:54:40 +0000 (15:54 -0400)
committerCristy <mikayla-grace@urban-warrior.org>
Sun, 24 Mar 2019 19:54:40 +0000 (15:54 -0400)
coders/sixel.c

index d41515dfa63dc1bf70099117103893d9b570c19b..46cde2dad7afc6d085874ee77259ffe475482d92 100644 (file)
@@ -1055,6 +1055,7 @@ static Image *ReadSIXELImage(const ImageInfo *image_info,ExceptionInfo *exceptio
   /*
     Decode SIXEL
   */
+  sixel_pixels=(unsigned char *) NULL;
   if (sixel_decode(image,(unsigned char *) sixel_buffer,&sixel_pixels,&image->columns,&image->rows,&sixel_palette,&image->colors,exception) == MagickFalse)
     {
       sixel_buffer=(char *) RelinquishMagickMemory(sixel_buffer);