]> granicus.if.org Git - imagemagick/commitdiff
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8734
authorCristy <urban-warrior@imagemagick.org>
Tue, 5 Jun 2018 00:55:27 +0000 (20:55 -0400)
committerCristy <urban-warrior@imagemagick.org>
Tue, 5 Jun 2018 00:55:27 +0000 (20:55 -0400)
MagickCore/fx.c

index 60c976ac5dc950b04010871fd33cbf8650975c73..9def5a24565159c7daa8697187260ca04116c62a 100644 (file)
@@ -1125,7 +1125,8 @@ static double FxChannelStatistics(FxInfo *fx_info,Image *image,
       if (option >= 0)
         {
           channel=(PixelChannel) option;
-          channel_mask=SetPixelChannelMask(image,(ChannelType) (1 << channel));
+          channel_mask=SetPixelChannelMask(image,(ChannelType)
+            (1UL << channel));
         }
     }
   (void) FormatLocaleString(key,MagickPathExtent,"%p.%.20g.%s",(void *) image,