+2018-05-19 7.0.7-34 <quetzlzacatenango@image...>
+ * Fixed numerous use of uninitialized values, integer overflow, memory
+ exceeded, and timeouts (credit to OSS Fuzz).
+ * Improved clip / composite mask handling.
+
2018-05-16 7.0.7-33 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.7-32, GIT revision 14326:58c2e4972:20180516.
level_pixel,
scale;
- if (fabs(white_point-black_point) < MagickEpsilon)
- return(pixel);
- scale=1.0/(white_point-black_point);
+ scale=PerceptibleReciprocal(white_point-black_point);
level_pixel=QuantumRange*gamma_pow(scale*((double) pixel-black_point),
1.0/gamma);
return(level_pixel);