Sophie

Sophie

distrib > Mageia > 6 > armv7hl > by-pkgid > 228c9f5c80c0827354c18f4f1dd3d081 > files > 40

graphicsmagick-doc-1.3.29-1.mga6.noarch.rpm

<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.13.1: http://docutils.sourceforge.net/" />
<title></title>
<link rel="stylesheet" href="docutils-articles.css" type="text/css" />
</head>
<body>

<div class="banner">
<img src="images/gm-107x76.png" alt="GraphicMagick logo" width="107" height="76" />
<span class="title">GraphicsMagick</span>
<form action="http://www.google.com/search">
	<input type="hidden" name="domains" value="www.graphicsmagick.org" />
	<input type="hidden" name="sitesearch" value="www.graphicsmagick.org" />
    <span class="nowrap"><input type="text" name="q" size="25" maxlength="255" />&nbsp;<input type="submit" name="sa" value="Search" /></span>
</form>
</div>

<div class="navmenu">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="project.html">Project</a></li>
<li><a href="download.html">Download</a></li>
<li><a href="README.html">Install</a></li>
<li><a href="Hg.html">Source</a></li>
<li><a href="NEWS.html">News</a> </li>
<li><a href="utilities.html">Utilities</a></li>
<li><a href="programming.html">Programming</a></li>
<li><a href="reference.html">Reference</a></li>
</ul>
</div>
<div class="document">


<p>2018-04-29  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>version.sh: Updates to prepare for the 1.3.29 release.</li>
<li>coders/pict.c (DecodeImage): Assure that scanline is initialized
to avoid use of uninitialized data.  Fixes oss-fuzz 8063
&quot;graphicsmagick/coder_WPG_fuzzer: Use-of-uninitialized-value in
ReadPICTImage&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/dpx.c (ReadDPXImage): Assure that NULL pixels is not
used.  Fixes oss-fuzz 8078 &quot;graphicsmagick/coder_DPX_fuzzer:
Null-dereference WRITE in ReadDPXImage&quot;. (Credit to OSS-Fuzz)</li>
<li>NEWS.txt: Update NEWS file with information about changes since
last release.</li>
</ul>
</blockquote>
<p>2018-04-28  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/dib.c (ReadDIBImage): Disable EOF tests for &quot;ICODIB&quot;
subformat due to icon file provided by SourceForge issue #557
&quot;ErrorCorruptImage: Magick: Unexpected end-of-file ()&quot; where an
EOF error was reported due to no mask data being supplied.</li>
<li>coders/png.c (ReadOneJNGImage): The embedded JPEG image is
required to have the same dimensions as the JNG image as provided
by JHDR.  Fixes SourceForge bug 555 &quot;heap-buffer-overflow in
AcquireCacheNexus when processing jng file&quot;.  It is likely that
this issue is precipitated by using 'montage' which seems to set a
default non-zero image size.
(ReadMNGImage): By default limit the maximum loops specifiable by
the MNG LOOP chunk to 512 loops, but allow this to be modified by
'-define mng:maximum-loops=value'.  Also assure that the value is
in the range of 0-2147483647 as per the MNG specification.  This
is to address the denial of service issue described by
CVE-2018-10177.  This problem was reported to us by Petr Gajdos
via email on Fri, 20 Apr 2018.</li>
<li>coders/dpx.c (ReadDPXImage): Move misplaced channel validation
code.  Fixes oss-fuzz 8041 &quot;graphicsmagick/coder_DPX_fuzzer:
Use-of-uninitialized-value in WriteDPXImage&quot; and oss-fuzz 8055
&quot;graphicsmagick/enhance_fuzzer: Use-of-uninitialized-value in
EnhanceImage&quot;. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-04-27  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/xpm.c (StringToListMod): Algorithm fixes to fix use of
uninitialized data.  Fixes oss-fuzz 8046
&quot;graphicsmagick/coder_XPM_fuzzer: Use-of-uninitialized-value in
StringToListMod&quot;. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-04-26  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/xpm.c (ReadXPMImage): Reduce memory consumption further.
Hopefully fixes oss-fuzz 8013 &quot;graphicsmagick/coder_XPM_fuzzer:
Out-of-memory in graphicsmagick_coder_XPM_fuzzer&quot;. (Credit to
OSS-Fuzz)</li>
<li>magick/utility.c (StringToList): Only allocate the memory
required when converting string to an ASCII list.  May or may not
fix oss-fuzz 8013 &quot;graphicsmagick/coder_XPM_fuzzer: Out-of-memory
in graphicsmagick_coder_XPM_fuzzer&quot;. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-04-24  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/bmp.c (ReadBMPImage): Fix benign use of uninitialized
data when testing header magick.  Fixes oss-fuzz 7980
&quot;graphicsmagick/coder_BMP_fuzzer: Use-of-uninitialized-value in
LocaleNCompare&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/dpx.c (ReadDPXImage): ColorDifferenceCbCr does require
even image width. Fixes oss-fuzz 7966
&quot;graphicsmagick/coder_DPX_fuzzer: Unknown signal in
TentUpsampleChroma&quot;. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-04-23  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/dpx.c (ReadDPXImage): ColorDifferenceCbCr element
requires two samples/pixel, not one. Fixes oss-fuzz 7951
&quot;graphicsmagick/coder_DPX_fuzzer: Heap-buffer-overflow in
ReadDPXImage&quot;. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-04-22  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/pdb.c (ReadPDBImage): Assure that pixels buffer is
initialized.  Fixes oss-fuzz 7937
&quot;graphicsmagick/coder_PDB_fuzzer: Use-of-uninitialized-value in
ReadPDBImage&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/mvg.c (ReadMVGImage): Assure that MVG viewbox parameters
were supplied.  Fixes oss-fuzz 7936
&quot;graphicsmagick/coder_MVG_fuzzer: Use-of-uninitialized-value in
ReadMVGImage&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/dpx.c (ReadDPXImage): Element descriptors CbYCrY422 and
CbYACrYA4224 require that the image width be evenly divisible by 2
so enforce that.  Fixes oss-fuzz 7935
&quot;graphicsmagick/coder_DPX_fuzzer: Heap-buffer-overflow in
ReadDPXImage&quot;. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-04-21  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/dpx.c (ReadDPXImage): Reject DPX files which claim to use
signed data.  Fixes oss-fuzz 7758
&quot;graphicsmagick/coder_DPX_fuzzer: Use-of-uninitialized-value in
WriteDPXImage&quot;. (Credit to OSS-Fuzz)
(ReadDPXImage): Validate that the image elements do update all of
the channels, including the alpha channel.  Now report an error if
a color channel is missing.  Fixes oss-fuzz 7758
&quot;graphicsmagick/coder_DPX_fuzzer: Use-of-uninitialized-value in
WriteDPXImage&quot;.</li>
<li>coders/gif.c (DecodeImage): Finally fix oss-fuzz 7732
&quot;graphicsmagick/coder_GIF_fuzzer: Heap-buffer-overflow in
DecodeImage&quot; which was not actually fixed with previous
changes. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-04-21  Fojtik Jaroslav  &lt;<a class="reference external" href="mailto:JaFojtik&#37;&#52;&#48;seznam&#46;cz">JaFojtik<span>&#64;</span>seznam<span>&#46;</span>cz</a>&gt;</p>
<blockquote>
<ul class="simple">
<li><dl class="first docutils">
<dt>coders/topol.c Emit error when tile storage overflows image data;</dt>
<dd>fixes oss-fuzz 7769 thanks to oss-fuzz.</dd>
</dl>
</li>
</ul>
</blockquote>
<p>2018-04-20  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>magick/render.c (ConvertPrimitiveToPath):  Fixed a bug
in which SVG paths containing multiple open subpaths were
not being processed correctly, resulting in incorrect
output.  This fixes ticket #94.</li>
</ul>
</blockquote>
<p>2018-04-18  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/gif.c (DecodeImage): Fix use of uninitialized memory
during error condition in decoder. Fixes oss-fuzz 7732
&quot;graphicsmagick/coder_GIF_fuzzer: Heap-buffer-overflow in
DecodeImage&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/txt.c (ReadTXTImage): Assure that all image pixels are
initialized to black.</li>
<li>Magick++/demo/zoom.cpp (main): Add a -read-blob option to read
input file into a Blob so that it is read by the Blob reader
rather than the file reader.  Default the output Geometry to the
input image geometry in case the user does not specify a resize
resolution or geometry.</li>
<li>Magick++/tests/readWriteBlob.cpp (main): Improve the quality of
code which reads a file into memory for Blob testing.</li>
<li>magick/blob.c (BlobToImage): Add exception reports for the cases
where 'magick' was not set and the file format could not be
deduced from its header.  Previously a null Image pointer was
being returned without any exception being thrown.</li>
</ul>
</blockquote>
<p>2018-04-15  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/dpx.c (ReadDPXImage): Assure that CbCr layer initializes
all channels if it is the first element of a planar DPX.  Fixes
oss-fuzz 7703 &quot;graphicsmagick/coder_DPX_fuzzer:
Use-of-uninitialized-value in WriteDPXImage&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/pict.c (ReadPICTImage): Don't refer to filename member of
ImageInfo which was just destroyed. Much thanks to Alex Gaynor for
finding this.  Should fix oss-fuzz 6867
&quot;graphicsmagick/coder_PCT_fuzzer: Heap-use-after-free in
GetLocaleExceptionMessage&quot;. (Credit to OSS-Fuzz).</li>
</ul>
</blockquote>
<p>2018-04-14  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/sgi.c (ReadSGIImage): Assure that iris pixels are fully
initialized.  Fixes oss-fuzz 7543
&quot;graphicsmagick/coder_SGI_fuzzer: Use-of-uninitialized-value in
SGIEncode&quot;. (Credit to OSS-Fuzz).</li>
<li>coders/xcf.c (ReadXCFImage): Restore SetImage() which was
previously commented out.  This is needed to assure initialized
pixels.  Fixes oss-fuzz 7430 &quot;graphicsmagick/coder_XCF_fuzzer:
Use-of-uninitialized-value in AlphaCompositePixel&quot;. (Credit to
OSS-Fuzz).</li>
<li>coders/pict.c (ReadPICTImage): Properly initialize &quot;black
canvas&quot; that tiles may be composed on.  Fixes oss-fuzz 7574
&quot;graphicsmagick/enhance_fuzzer: Use-of-uninitialized-value in
EnhanceImage&quot;. (Credit to OSS-Fuzz).</li>
<li>coders/rle.c (ReadRLEImage): Check for EOF when reading comment.
Fixes oss-fuzz 7667 &quot;graphicsmagick/coder_RLE_fuzzer:
Use-of-uninitialized-value in ReadRLEImage&quot;. (Credit to OSS-Fuzz).</li>
<li>coders/pdb.c (WritePDBImage): Avoid use of uninitialized
bytes. Fixes oss-fuzz 7638 &quot;graphicsmagick/coder_PDB_fuzzer:
Use-of-uninitialized-value in WritePDBImage&quot;. (Credit to
OSS-Fuzz).</li>
<li>coders/rla.c (ReadRLAImage): Add many more validations,
including scanline offsets and number of channels.  Fixes oss-fuzz
7653 &quot;graphicsmagick/coder_RLA_fuzzer: Timeout in
graphicsmagick_coder_RLA_fuzzer&quot;. (Credit to OSS-Fuzz).</li>
<li>coders/txt.c (ReadTXTImage): Implement missing subrange logic to
read only the specified range of frames.  Limits frames read from
oss-fuzz test case
clusterfuzz-testcase-minimized-coder_TEXT_fuzzer-6061076048248832
&quot;graphicsmagick/coder_TEXT_fuzzer: Timeout in
graphicsmagick_coder_TEXT_fuzzer&quot;. (Credit to OSS-Fuzz).</li>
<li>Magick++/lib/Image.cpp (read): Set subrange = 1 since this
interface is intended to read just one frame from the input file.
Use the STL-based interfaces to read multiple frames.</li>
<li>coders/fits.c (ReadFITSImage): Verify FITS header before reading
further.  Rejects file from oss-fuzz 7650
&quot;graphicsmagick/coder_FITS_fuzzer: Out-of-memory in
graphicsmagick_coder_FITS_fuzzer&quot;.  (Credit to OSS-Fuzz).</li>
<li>PerlMagick/Magick.xs (Get): Fix PerlMagick compilation problem
due to rename/repurposing of image-&gt;clip_mask.</li>
</ul>
</blockquote>
<p>2018-04-13  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>magick/image.c, magick/image.h:  In order to be able to
support SVG masks, and to be able to further extend the
Image data structure without changing its size, new data
structure ImageExtra (struct _ImageExtra) has been added.
Header file image.h contains only a forward declaration;
the members of ImageExtra are defined in file image.c.
Image member variable Image * clip_mask has been replaced
by ImageExtra * extra, and function prototypes that enable
access to ImageExtra have been added to image.h.  The
clip_mask member variable now resides in ImageExtra.  All
references to Image::clip_mask in the GraphicsMagick
source code have either been replaced with direct references
to ImageExtra::clip_mask (image.c), or have been replaced
with calls to access function ImageGetClipMask().</li>
<li>magick/render.c, magick/render.h:  In order to be able to
support SVG masks, and to be able to further extend the
DrawInfo data structure without changing its size, new data
structure DrawInfoExtra (struct _DrawInfoExtra) has been added.
Header file render.h contains only a forward declaration;
the members of DrawInfoExtra are defined in file render.c.
DrawInfo member variable char * clip_path has been replaced by
DrawInfoExtra * extra, and function prototypes that enable
access to DrawInfoExtra have been added to render.h.  The
clip_path member variable now resides in ImageExtra.  All
references to DrawInfo::clip_path in the GraphicsMagick
source code have either been replaced with direct references
to DrawInfoExtra::clip_path (render.c), or have been
replaced with calls to access function DrawInfoGetClipPath().</li>
<li>magick/image.c (new functions CompositePathImage,
CompositeMaskImage, GetImageCompositeMask,
SetImageCompositeMask):  Defined new data structure ImageExtra,
added create/destroy logic, and implemented associated access
functions.  Implemented SVG masks.</li>
<li>magick/render.c (DrawImage, new function DrawCompositeMask):
Defined new data structure DrawInfoExtra, added create/destroy
logic, and implemented associated access functions.  Impemented
SVG masks.</li>
<li>magick/pixel_cache.c (SyncCacheNexus, new function
CompositeCacheNexus):  Fixed references to Image::clip_mask.
Implemented SVG masks.</li>
<li>coders/svg.c (SVGStartElement, SVGEndElement): Implemented
SVG masks.</li>
<li>locale/c.mgk, magick/gm_messages.mc, magick/local_c.h:
Added new error codes to support SVG masks.</li>
<li>coders/ps3.c, magick/enhance.c: Fixed references to
Image::clip_mask.</li>
<li>magick/draw.c, wand/drawing_wand.c: Fixed references to
DrawInfo::clip_path.</li>
</ul>
</blockquote>
<p>2018-04-13  Fojtik Jaroslav  &lt;<a class="reference external" href="mailto:JaFojtik&#37;&#52;&#48;seznam&#46;cz">JaFojtik<span>&#64;</span>seznam<span>&#46;</span>cz</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/wpg.c Crash on row overflow fixed oss-fuzz 7639 thanks to oss-fuzz.</li>
</ul>
</blockquote>
<p>2018-04-11  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/dpx.c (ReadDPXImage): Add more header validations.
Always assure that scanline is initialized for Luma channel. Fixes
oss-fuzz 7544 &quot;graphicsmagick/coder_DPX_fuzzer:
Use-of-uninitialized-value in WriteDPXImage&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/pdb.c (ReadPDBImage): Add more EOF checks to avoid benign
use of uninitialized data.  Fixes oss-fuzz 7545
&quot;graphicsmagick/coder_PDB_fuzzer: Use-of-uninitialized-value in
ReadPDBImage&quot;.</li>
<li>coders/wpg.c (InsertRow, UnpackWPGRaster): x &amp; y should be
'unsigned long' to match type used by pixel cache APIs and image
rows/columns.</li>
</ul>
</blockquote>
<p>2018-04-08  Fojtik Jaroslav  &lt;<a class="reference external" href="mailto:JaFojtik&#37;&#52;&#48;seznam&#46;cz">JaFojtik<span>&#64;</span>seznam<span>&#46;</span>cz</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/wpg.c Stop reading when last row is reached.
This should stop oss-fuzz 7528 thanks to oss-fuzz.</li>
</ul>
</blockquote>
<p>2018-04-10  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/xcf.c (ReadXCFImage): Fix use of uninitialized data in
magick header string for runt file.  Fixes oss-fuzz 7521
&quot;graphicsmagick/coder_XCF_fuzzer: Use-of-uninitialized-value in
LocaleNCompare&quot;. (Credit to OSS-Fuzz).</li>
</ul>
</blockquote>
<p>2018-04-09  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>OVERVIEW: Change set 9aaeeca0224c modified the drawing
of clipping paths to conform to the SVG spec.  This change
set restores the previous behavior for non-SVG clients of
render.c, while still satisfying the SVG spec for SVG clients.</li>
<li>magick/render.h (DrawInfo): Added a bit field in member
&quot;flags&quot; to indicate that drawing should be SVG compliant.</li>
<li>magick/render.c (DrawImage): Now recognizes keyword
&quot;svg-compliant&quot;, and tags DrawInfo accordingly.  This
allows for existing features in render.c to be changed
to comply with the SVG spec without impacting the previous
behavior expected by non-SVG clients.</li>
<li>magick/render.c (DrawImage): Now uses DrawInfo &quot;flags&quot;
bit for SVG compliance in conjunction with &quot;flags&quot; bit
for &quot;clipping path&quot; to determine when to ignore changes
to fill color, stroke color, etc.  This restores the
previous behavior for clipping paths for non-SVG clients.</li>
<li>coders/svg.c (SVGStartElement): The initial set of
MVG commands for rendering an SVG file now includes
new keyword &quot;svg-compliant&quot; (to indicate that certain
graphical elements should be drawn according to the
SVG spec), and includes an intialization of the SVG
&quot;fill-rule&quot; to &quot;nonzero&quot; (the SVG default) instead of
the internally initialized value of &quot;evenodd&quot;.</li>
<li>coders/wpg.c: Fixed C99 &quot;//&quot; comments.</li>
</ul>
</blockquote>
<p>2018-04-08  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/pict.c (ReadPICTImage): Copy tile exception info to main
image and don't composite tile if it has a problem.  Fixes
oss-fuzz 7169 &quot;graphicsmagick/enhance_fuzzer:
Use-of-uninitialized-value in EnhanceImage&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/dib.c (ReadDIBImage): Do not increase decode bits/pixel
if compression=2, but use it to increase pixel packet size when
estimating bytes per line for decode buffer.  Fixes oss-fuzz issue
7324 &quot;graphicsmagick/coder_WPG_fuzzer: Use-of-uninitialized-value
in ReadDIBImage&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/dpx.c (ReadDPXImage): When handling the first element of
a planar DPX, assure that the other channels are
initialized. Fixes oss-fuzz 7841 &quot;graphicsmagick/coder_DPX_fuzzer:
Use-of-uninitialized-value in WriteDPXImage&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/tim.c (ReadTIMImage): Only 4 and 8 bit TIM requires a
colormap. For other depths, force reading as DirectClass even if
the TIM file provides a colormap.  Fixes oss-fuzz 7407
&quot;graphicsmagick/coder_TIM_fuzzer: Use-of-uninitialized-value in
SyncImageCallBack&quot;. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-04-08  Fojtik Jaroslav  &lt;<a class="reference external" href="mailto:JaFojtik&#37;&#52;&#48;seznam&#46;cz">JaFojtik<span>&#64;</span>seznam<span>&#46;</span>cz</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/mat.c The unread data contains crap in memory,
erase current image data. This should mute oss-fuzz 6604.</li>
<li>coders/wpg.c - condition &quot;if(y&lt;1) continue;&quot; is redundant
and could be removed completely.
Allow logging in MatlabV4 module.</li>
<li>coders/svg.c - Do not use C++ syntax in C code - removed.</li>
</ul>
</blockquote>
<p>2018-04-07  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/wpg.c (UnpackWPGRaster): Fix uninitialized row 0 when
row-based RLE is used.  Fixes oss-fuzz 6603
&quot;graphicsmagick/enhance_fuzzer: Use-of-uninitialized-value in
BlendCompositePixel&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/pcd.c: Fix many issues, including oss-fuzz 6016
&quot;graphicsmagick/coder_PCD_fuzzer: Heap-double-free in
MagickRealloc&quot; and oss-fuzz 6108 &quot;graphicsmagick/coder_PCD_fuzzer:
Unknown signal in AllocateThreadViewDataSet&quot;. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-04-06  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/dcm.c (funcDCM_BitsStored): Limit DICOM significant bits
to 16.  Otherwise rescale map code blows up.  Fixes oss-fuzz 7435
&quot;graphicsmagick/coder_DCM_fuzzer: Out-of-memory in
graphicsmagick_coder_DCM_fuzzer&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/pix.c (ReadPIXImage): Detect EOF.  Reject RLE lenth of
zero.  Fixes oss-fuzz 7440 &quot;graphicsmagick/coder_PIX_fuzzer:
Out-of-memory in graphicsmagick_coder_PIX_fuzzer&quot;. (Credit to
OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-04-05  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/dpx.c (ReadDPXImage): Insist on having an element
descriptor we understand since otherwise we can not decode the
image.  Fixes oss-fuzz 7410 &quot;graphicsmagick/coder_DPX_fuzzer:
Use-of-uninitialized-value in WriteDPXImage&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/avs.c, etc... (WriteAVSImage): Cache image list length
before writing image sequence so that progress monitor is
scalable.  Helps with oss-fuzz 7404
&quot;graphicsmagick/coder_AVS_fuzzer: Timeout in
graphicsmagick_coder_AVS_fuzzer&quot;. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-04-05  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/svg.c (SVGStartElement, SVGEndElement),
magick/render.c (DrawImage): The current text position
is now maintained by DrawImage() instead of by
SVGStartElement() and SVGEndElement().  This change was
made to support the recently implmemented &quot;use&quot; and
&quot;class&quot; elements, which may make changes to the font
size that are not visible to the code in svg.c.</li>
<li>coders/svg.c (GetStyleTokens, SVGStartElement): The
list of SVG attributes is now reordered so that
&quot;font-size&quot;, &quot;class&quot;, and &quot;style&quot; are processed first.
This ensures that a change to the font size will be
processed before any dimensional attribute whose value
may depend on the font size (e.g., a width value
specified in &quot;em&quot; units).</li>
<li>coders/svg.c (ProcessStyleClassDefs): Fixed two memory
leaks associated with making an early return when
malformed input is detected.</li>
<li>magick/render.c (ExtractTokensBetweenPushPop): Fixed
an uninitialized variable condition which can occur when
malformed input is detected.</li>
<li>magick/render.h (DrawInfo), magick/render.c: DrawInfo
member &quot;unused1&quot; has been renamed &quot;flags&quot;.  It is now
used to tag a DrawInfo as being a clipping path or a
compositing mask.</li>
</ul>
</blockquote>
<p>2018-04-04  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/pdb.c (ReadPDBImage): Update DirectClass pixels to avoid
use of uninitialized memory for 2 bits/pixel.  Fixes oss-fuzz 7350
&quot;graphicsmagick/coder_PDB_fuzzer: Use-of-uninitialized-value in
WritePDBImage&quot;.  (Credit to OSS-Fuzz)</li>
<li>coders/palm.c (ReadPALMImage): Fix use of uninitialized memory.
Fixes oss-fuzz 7325 &quot;graphicsmagick/coder_PALM_fuzzer:
Use-of-uninitialized-value in TransparentImageCallBack&quot;. (Credit
to OSS-Fuzz)</li>
<li>coders/dcm.c (DCM_ReadNonNativeImages): Break out of reading
loop on EOF and properly report exception.  Fixes oss-fuzz 7349
&quot;graphicsmagick/coder_DCM_fuzzer: Timeout in
graphicsmagick_coder_DCM_fuzzer&quot;. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-04-03  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/xcf.c (ReadXCFImage): Require that XCF file offsets be in
ascending order to avoid DOS.  Fixes oss-fuzz 7333
&quot;graphicsmagick/coder_XCF_fuzzer: Out-of-memory in
graphicsmagick_coder_XCF_fuzzer&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/wpg.c (UnpackWPGRaster): Fix memory leak in error return
path. Fixes oss-fuzz 7338 &quot;graphicsmagick/enhance_fuzzer:
Direct-leak in UnpackWPGRaster&quot;. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-04-03  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/svg.c (SVGStartElement): This changeset adds
support for SVG geometric transforms specified using the
style=&quot;transform: ...&quot; syntax.  This syntax is sometimes
used when exporting SVG files from Adobe Illustrator.</li>
</ul>
</blockquote>
<p>2018-04-02  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/dpx.c (ReadDPXImage): Validate DPX packing method.  Fixes
oss-fuzz 7296 &quot;graphicsmagick/coder_DPX_fuzzer:
Use-of-uninitialized-value in WriteDPXImage&quot;. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-04-02  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/svg.c (SVGStartElement, SVGEndElement),
magick/render.c (DrawImage): This changeset adds support for
&quot;class&quot; styling attributes within a &lt;style&gt; section within
the &lt;defs&gt; section, and the ability to reference them from
other SVG elements by class=&quot;classname&quot;.  SVG files exported
from Adobe Illustrator make extensive use of &quot;class&quot; definitions.</li>
</ul>
</blockquote>
<p>2018-04-01  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/pict.c (ReadPICTImage): Fix leak of tile image on EOF.
This is a recent regression.  Fixes oss-fuzz 7287
&quot;graphicsmagick/coder_PCT_fuzzer: Indirect-leak in
CloneImage&quot;. (Credit to OSS-Fuzz)</li>
<li>magick/pixel_cache.c (OpenCache): Use image-&gt;scene rather than
GetImageIndexInList(image) for scene-id part of cache info file
name.</li>
<li>coders/txt.c (WriteTXTImage): Optimize the progress indicator
since it is very inefficient with a large number of scenes and
oss-fuzz 7090 &quot;graphicsmagick/coder_TEXT_fuzzer: Timeout in
graphicsmagick_coder_TEXT_fuzzer&quot; consistently shows
GetImageListLength() in its stack traces.</li>
<li>coders/dcm.c (ReadDCMImage): DICOM reader was no longer
immediately quitting with excessive samples per pixel.  This
caused spinning for a very long time when reading planar images
with large samples per pixel.  This is a regression due to recent
changes.  Fixes oss-fuzz 7269 &quot;graphicsmagick/coder_DCM_fuzzer:
Timeout in graphicsmagick_coder_DCM_fuzzer&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/xcf.c (ReadXCFImage): Destroy layer info before returning
due to exception.  This is a new regression due to adding more
checks. Fixes oss-fuzz 7277 &quot;graphicsmagick/coder_XCF_fuzzer:
Direct-leak in ReadXCFImage&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/pdb.c (ReadPDBImage): Assure that all bytes of scanline
are initialized while decoding.  Fixes oss-fuzz 7051
&quot;graphicsmagick/coder_PDB_fuzzer: Use-of-uninitialized-value in
WritePDBImage&quot;. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-03-31  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/pcx.c (ReadPCXImage): Assure that scanline is
initialized.  Fixes oss-fuzz 6612
&quot;graphicsmagick/coder_PCX_fuzzer: Use-of-uninitialized-value in
WriteRLEPixels&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/wpg.c (ReadWPGImage): Detect unexpected EOF and avoid use
of uninitialized data.  Fixes oss-fuzz 6601
&quot;graphicsmagick/enhance_fuzzer: Use-of-uninitialized-value in
ImportIndexQuantumType&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/sgi.c (ReadSGIImage): Assure that RLE decode buffer is
initialized.  Fixes oss-fuzz 6599
&quot;graphicsmagick/coder_SGI_fuzzer: Use-of-uninitialized-value in
SyncImageCallBack&quot; and oss-fuzz 6600
&quot;graphicsmagick/coder_SGI_fuzzer: Use-of-uninitialized-value in
SGIEncode&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/viff.c (ReadVIFFImage): Fix blob I/O size validation to
avoid use of uninitialized data. Fixes oss-fuzz 6597
&quot;graphicsmagick/coder_VIFF_fuzzer: Use-of-uninitialized-value in
ThresholdImage&quot;. (Credit to OSS-Fuzz)
(ReadVIFFImage): Don't execute SetImageType(image,BilevelType) on
an image which has no pixels yet in order to avoid use of
uninitialized data. Fixes oss-fuzz 6597.  (Credit to OSS-Fuzz)</li>
<li>coders/wbmp.c (ReadWBMPImage): Fix blob I/O size validation to
avoid use of uninitialized data. Fixes oss-fuzz 7047
&quot;graphicsmagick/coder_WBMP_fuzzer: Use-of-uninitialized-value in
ReadWBMPImage&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/wpg.c (ExtractPostscript): Allow non-Postscript content
but force reading using the magick we already detected.  Also log
the format that we detected.</li>
<li>coders/xcf.c (ReadOneLayer): Reject layer size of 0x0.  Fixes
oss-fuzz 6636 &quot;graphicsmagick/coder_XCF_fuzzer: Direct-leak in
MagickMallocAligned&quot;. (Credit to OSS-Fuzz)
(ReadXCFImage): Verify that seek offsets are within the bounds of
the file data. Fixes oss-fuzz 6682
&quot;graphicsmagick/coder_XCF_fuzzer: Out-of-memory in
graphicsmagick_coder_XCF_fuzzer&quot;. (Credit to OSS-Fuzz)</li>
<li>magick/pixel_cache.c (ModifyCache): Destroy CacheInfo if
OpenCache() fails so it is not leaked.</li>
<li>coders/wpg.c (ExtractPostscript): Enforce that embedded file is
a Postscript file.  Fixes oss-fuzz 7235
&quot;graphicsmagick/coder_WPG_fuzzer: Indirect-leak in MagickRealloc&quot;.
This is indicated to be a regression. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-03-30  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/pict.c (ReadPICTImage): Check image pixel limits before
allocating memory for tile.  Fixes oss-fuzz 7217
&quot;graphicsmagick/coder_PICT_fuzzer: Out-of-memory in
graphicsmagick_coder_PICT_fuzzer&quot;.</li>
</ul>
</blockquote>
<p>2018-03-29  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/pcd.c (ReadPCDImage): Add checks for EOF. Fixes oss-fuzz
issue 7180 &quot;graphicsmagick/coder_PCDS_fuzzer: Timeout in
graphicsmagick_coder_PCDS_fuzzer&quot;.  (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-03-29  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul>
<li><p class="first">coders/svg.c (SVGStartElement, SVGEndElement),
magick/render.c (DrawImage): This changeset implements the SVG
&quot;use&quot; element.  Graphical elements (e.g., &quot;rect&quot;, &quot;text&quot;, etc.)
can be tagged with an identifier using 'id=&quot;identifier&quot;' when
defined within the &quot;defs&quot; section.  They can then be referenced
elsewhere in the SVG file using:</p>
<p>&lt;use xlink:href=&quot;#identifier&quot; ... /&gt;</p>
<p>When referencing a graphical element by its identifier, the
following syntaxes are now treated as being the same:</p>
<p>href=&quot;#identifier&quot;
href=&quot;url(#identifier)&quot;
xlink:href=&quot;#identifier&quot;
xlink:href=&quot;url(#identifier)&quot;</p>
</li>
</ul>
</blockquote>
<p>2018-03-27  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/tim.c (ReadTIMImage): Reader was not observing subimage
and subrange to quit after the specified frame range.  Inspired by
oss-fuzz 7132 &quot;graphicsmagick/coder_TIM_fuzzer: Timeout in
graphicsmagick_coder_TIM_fuzzer&quot; (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-03-27  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/svg.c (SVGStartElement): Enable setting the
background color from the SVG file when the client
specifies style=&quot;background:color&quot; inside the &lt;svg&gt;
... &lt;/svg&gt; element.</li>
</ul>
</blockquote>
<p>2018-03-25  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/mtv.c (ReadMTVImage): Add some elementary tracing to MTV
reader.</li>
<li>coders/png.c (ReadMNGImage): Fix SourceForge issue 554
&quot;Divide-by-zero in ReadMNGImage (coders/png.c)&quot;.  (Credit to Trace
Probe)</li>
<li>coders/bmp.c (ReadBMPImage): Assure that start position always
advances to avoid looping BMPs.  Fixes oss-fuzz 7045
&quot;graphicsmagick/coder_BMP_fuzzer: Timeout in
graphicsmagick_coder_BMP_fuzzer&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/pict.c (DecodeImage): Verify that sufficient backing data
exists before allocating memory to read it.  Fixes oss-fuzz 6629
&quot;graphicsmagick/coder_PCT_fuzzer: Out-of-memory in
graphicsmagick_coder_PCT_fuzzer&quot;.
(ReadPICTImage): Destroy tile_image in ThrowPICTReaderException()
macro to simplify logic.</li>
</ul>
</blockquote>
<p>2018-03-25  Fojtik Jaroslav  &lt;<a class="reference external" href="mailto:JaFojtik&#37;&#52;&#48;seznam&#46;cz">JaFojtik<span>&#64;</span>seznam<span>&#46;</span>cz</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/mat.c Check whether datablock is really read.
Fixes oss-fuzz 7056 (Credit to OSS-Fuzz)</li>
<li>coders/txt.c Duplicate image check for data with fixed geometry
previous check is skipped. Fixes oss-fuzz 7090.</li>
</ul>
</blockquote>
<p>2018-03-24  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/dcm.c (ReadDCMImage): Validate that samples per pixel is
in valid range.  Fixes oss-fuzz 6260
&quot;graphicsmagick/coder_DCM_fuzzer: Out-of-memory in
graphicsmagick_coder_DCM_fuzzer&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/meta.c (format8BIM): Allocate space for null termination
and null terminate string.  Fixes oss-fuzz 5985
&quot;graphicsmagick/coder_8BIMTEXT_fuzzer: Heap-buffer-overflow in
formatIPTCfromBuffer&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/fits.c (ReadFITSImage): Include number of FITS scenes in
file size validations.  Fixes oss-fuzz 6781
&quot;graphicsmagick/coder_FITS_fuzzer: Timeout in
graphicsmagick_coder_FITS_fuzzer&quot;. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-03-23  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/meta.c (format8BIM): Validate size request prior to
allocation. Fixes oss-fuzz issue 5974
&quot;graphicsmagick/coder_8BIMTEXT_fuzzer: Out-of-memory in
graphicsmagick_coder_8BIMTEXT_fuzzer&quot;. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-03-23  Fojtik Jaroslav  &lt;<a class="reference external" href="mailto:JaFojtik&#37;&#52;&#48;seznam&#46;cz">JaFojtik<span>&#64;</span>seznam<span>&#46;</span>cz</a>&gt;</p>
<blockquote>
<ul>
<li><p class="first">coders/mat.c Fix forged amount of frames 7076. (Credit to OSS-Fuzz)</p>
<blockquote>
<p>* coders/topol.c Check for forged image that overflows file size
(fuzz 6836).</p>
</blockquote>
</li>
</ul>
</blockquote>
<p>2018-03-23  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul>
<li><p class="first">magick/render.c, render.h (DrawInfo, CloneDrawInfo,
DrawClipPath, DrawImage, GetDrawInfo): According to the SVG
spec, a clipping path is defined only by the geometry of its
constituent elements, and is not dependent on fill color/opacity,
stroke color/opacity, or stroke width.  To ensure conformity
with the spec, when a clipping path is created, these SVG
elements are set to appropriate values, and any attempt to
modify them is ignored.</p>
<p>Also, whenever a clipping path is drawn, the associated image
attributes are now updated from the parent image structure.
This ensures that any added or modified attributes are up to
date.</p>
</li>
</ul>
</blockquote>
<p>2018-03-22  Fojtik Jaroslav  &lt;<a class="reference external" href="mailto:JaFojtik&#37;&#52;&#48;seznam&#46;cz">JaFojtik<span>&#64;</span>seznam<span>&#46;</span>cz</a>&gt;</p>
<blockquote>
<ul>
<li><dl class="first docutils">
<dt>coders/topol.c Use rather MagickSwabArrayOfUInt32() to</dt>
<dd><p class="first">flip all array elements at once.</p>
<p class="last">* magick/annotate.c Compilation issue - using C++ syntax in C code.</p>
</dd>
</dl>
</li>
</ul>
</blockquote>
<p>2018-03-20  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/dpx.c (ReadDPXImage): Validate header length and offset
properties.  Fixes oss-fuzz &quot;graphicsmagick/coder_DPX_fuzzer:
Use-of-uninitialized-value in WriteDPXImage&quot;. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-03-20  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>magick/annotate.c (RenderType): According to the SVG
spec, the 'font-family' element can be a comma-separated
list of one or more font family names.  Function RenderType
in file annotate.c has been modified to support multiple
font family names as follows.  The comma-separated list is
processed until the first available font family is found.
If no font family is found, or if font substitution occurred,
then the entire font family string is tested to see if it
exactly matches a font name, or if the font family string
with blanks changed to hypens exactly matches a font name.
If a font name match is found, the matched font overrides
the font substution.  The font name matching functionality
is beyond what's in the SVG spec and is provided as a
convenience to the user.</li>
</ul>
</blockquote>
<p>2018-03-20  Fojtik Jaroslav  &lt;<a class="reference external" href="mailto:JaFojtik&#37;&#52;&#48;seznam&#46;cz">JaFojtik<span>&#64;</span>seznam<span>&#46;</span>cz</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/mat.c Fix forged amount of frames 6755. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-03-20  Fojtik Jaroslav  &lt;<a class="reference external" href="mailto:JaFojtik&#37;&#52;&#48;seznam&#46;cz">JaFojtik<span>&#64;</span>seznam<span>&#46;</span>cz</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/topol.c Redesign ReadBlobDwordLSB() to be more effective.</li>
</ul>
</blockquote>
<p>2018-03-19  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/xpm.c (ReadXPMImage): Reject XPM if its condensed version
contains non-whitespace control characters.  Fixes oss-fuzz 7027
&quot;graphicsmagick/coder_XPM_fuzzer: Timeout in
graphicsmagick_coder_XPM_fuzzer&quot;. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-03-19  Fojtik Jaroslav  &lt;<a class="reference external" href="mailto:JaFojtik&#37;&#52;&#48;seznam&#46;cz">JaFojtik<span>&#64;</span>seznam<span>&#46;</span>cz</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/topol.c Fix tile index overflow fuzz 6634. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-03-19  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/dcm.c (DCM_ReadGrayscaleImage): Don't use rescale map if
it was not allocated.  This issue was induced in this development
cycle due to disabling generating the rescale map.  Fixes oss-fuzz
7021 &quot;graphicsmagick/coder_DCM_fuzzer: Null-dereference READ in
DCM_ReadGrayscaleImage&quot;. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-03-18  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>magick/color_lookup.c (QueryColorDatabase): Defend against
partial scanf() expression matching, resulting in use of
uninitialized data.  Likely fixes oss-fuzz 6596
&quot;graphicsmagick/coder_XPM_fuzzer: Use-of-uninitialized-value in
IsMonochromeImage&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/rle.c (ReadRLEImage): Validate number of colormap bits to
avoid undefined shift behavior.  Fixes oss-fuzz 6630
&quot;graphicsmagick/enhance_fuzzer: Undefined-shift in
ReadRLEImage&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/dcm.c (DCM_ReadRGBImage): Don't use rescale map if it was
not allocated.  This issue was induced in this development cycle
due to disabling generating the rescale map.  Fixes oss-fuzz 6995
&quot;graphicsmagick/coder_DCM_fuzzer: Null-dereference READ in
DCM_ReadRGBImage&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/dib.c (DecodeImage): Report failure to decode to expected
amount of pixel data as an error.  Fixes oss-fuzz 7007
&quot;graphicsmagick/enhance_fuzzer: Use-of-uninitialized-value in
EnhanceImage&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/bmp.c (ReadBMPImage): Add file size and offset/seek
validations.  Fixes oss-fuzz 6623
&quot;graphicsmagick/coder_BMP_fuzzer: Timeout in
graphicsmagick_coder_BMP_fuzzer&quot;. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-03-17  Fojtik Jaroslav  &lt;<a class="reference external" href="mailto:JaFojtik&#37;&#52;&#48;seznam&#46;cz">JaFojtik<span>&#64;</span>seznam<span>&#46;</span>cz</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>dcraw/dcraw.c Updated to version 9.27</li>
</ul>
</blockquote>
<p>2018-03-15  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/gif.c (ReadGIFImage): Fix botched fixes for use of
uninitialized data when reading GIF extension blocks.  Hopefully
ok now.</li>
</ul>
</blockquote>
<p>2018-03-13  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/gif.c (ReadGIFImage): Fix use of uninitialized data when
reading GIF extension blocks.  Fixes oss-fuzz 6609
&quot;graphicsmagick/coder_GIF_fuzzer: Use-of-uninitialized-value in
MagickArraySize&quot;. This seems to be a totally benign issue. (Credit
to OSS-Fuzz)</li>
<li>magick/magick.c (MagickSignal): Use an alternate signal stack,
if available.  This is required for Go lang C language extensions
since Go lang requests an alternate signal sack, and uses small
stacks for its threads.  If the library user has not allocated an
alternate signal stack, then behavior should be just as before.
Issue was originally reported by yzh杨振宏 on March 1, 2018 via
the graphicsmagick-help SourceForge mailing list.</li>
</ul>
</blockquote>
<p>2018-02-28  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>magick/pixel_cache.c (AcquireCacheNexus): Add a check that the
pixel cache is compatible with the image dimensions.  Fixes
oss-fuzz issues 5978 5988 5989 5990 5993 6016, and 6056, which are
all related to the PICT writer. (Credit to OSS-Fuzz)</li>
<li>magick/draw.c (DrawGetStrokeDashArray): Check for failure to
allocate memory.  Patch submited by Petr Gajdos via email on
February 28, 2018.</li>
</ul>
</blockquote>
<p>2018-02-27  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/fits.c (ReadFITSImage): Fix signed integer overflow when
computing pixels size.  Fixes oss-fuzz 6586
&quot;graphicsmagick/coder_FITS_fuzzer: Integer-overflow in
ReadFITSImage&quot;. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-02-27  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/svg.c (SVGStartElement, SVGEndElement): From the
SVG spec:  &quot;The 'foreignObject' element allows for inclusion
of a foreign namespace which has its graphical content drawn
by a different user agent.&quot;  Code has been added to consume
and discard the 'foreignObject' element and any settings (e.g.,
fill color) internal to it.  Previously, settings internal
to the 'foreignObject' element would persist and &quot;leak&quot; into
the graphic elements that followed it, resulting in undesired
side effects (e.g., fill color other than the expected default).</li>
</ul>
</blockquote>
<p>2018-02-27  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>magick/render.c (DrawPolygonPrimitive): Fixed a bug
introduced by changeset 39102dd1d456.  For SVG, this
changeset applied both the group AND the fill opacity
values to fill patterns (similarly for stroke).  For WMF,
however, this caused the fill pattern to be rendered as
100% transparent.  A closer reading of the SVG spec does
NOT show that the fill opacity should be applied to the
fill pattern, so as of this latest changeset only the group
opacity value is applied to fill and stroke patterns.</li>
</ul>
</blockquote>
<p>2018-02-27  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/bmp.c (ReadBMPImage): Fix divide by zero regression added
by latest fixes.  Fixes oss-fuzz 6583
&quot;graphicsmagick/coder_BMP_fuzzer: Divide-by-zero in ReadBMPImage&quot;.
(Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-02-26  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/pict.c (ReadPICTImage): Validate that PICT rectangles do
not have zero dimensions.  Specify expected file type when reading
from a temporary file.  Trace PICT rectangle dimensions.  More
detection of blob EOF and more error handling.  Fixes oss-fuzz
issue 6193 &quot;graphicsmagick/coder_PCT_fuzzer: Unknown signal in
AllocateImageColormap&quot; and likely many oss-fuzz ASAN/UBSAN issues
reported against &quot;PCT&quot; and &quot;PICT&quot; since this one problem appears
to be causing a spew of reports.</li>
<li>coders/png.c (ReadMNGImage): Detect and handle failure to
allocate global PLTE.  Problem was reported via email from Petr
Gajdos on February 26, 2018.</li>
</ul>
</blockquote>
<p>2018-02-25  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>magick/blob.c (ReadBlobLSBDouble): Make sure imported double is
a normal value.
(ReadBlobLSBDoubles): Make sure imported doubles are normal
values.
(ReadBlobLSBFloat): Make sure imported float is a normal value.
(ReadBlobLSBFloats): Make sure imported floats are normal values.
(ReadBlobMSBFloat): Make sure imported float is a normal value.
(ReadBlobMSBFloats): Make sure imported floats are normal values.
(ReadBlobMSBDouble): Make sure imported double is a normal value.
(ReadBlobMSBDoubles): Make sure imported doubles are normal
values.</li>
<li>magick/import.c (ImportFloat32Quantum): Make sure imported float
is a normal value.
(ImportFloat64Quantum): Make sure imported double is a normal
value.</li>
<li>magick/image.h (RoundDoubleToQuantum): Restore previous behavior
(from earlier today).
(RoundFloatToQuantum): Restore previous behavior (from earlier
today).</li>
<li>coders/bmp.c (ReadBMPImage): Fix UBSAN runtime error: left shift
of 205 by 24 places cannot be represented in type 'int'.</li>
<li>coders/ept.c (ReadEPTImage): Fix dereference of NULL pointer
which was detected by UBSAN in the test suite.</li>
<li>magick/image.h (RoundDoubleToQuantum): Check double value for
NaN and infinity in order to avoid undefined behavior.
(RoundFloatToQuantum): Check float value for NaN and infinity in
order to avoid undefined behavior.</li>
<li>magick/common.h (MAGICK_ISNAN): Add a isnan() wrapper macro.
(MAGICK_ISINF): Add a isinf() wrapper macro.</li>
</ul>
</blockquote>
<p>2018-02-25  Fojtik Jaroslav  &lt;<a class="reference external" href="mailto:JaFojtik&#37;&#52;&#48;seznam&#46;cz">JaFojtik<span>&#64;</span>seznam<span>&#46;</span>cz</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/mat.c Fix oss-fuzz issue 6273 - Heap-use-after-free in
GetLocaleExceptionMessage. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-02-24  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/dcm.c (DCM_PostRescaleImage): Remove use of
DCM_PostRescaleImage() since its implementation is wrong and
accesses non-allocated heap memory.  Problem was reported by Petr
Gajdos via email on February 8, 2018.</li>
<li>coders/jp2.c (ReadJP2Image): Use a ThrowJP2ReaderException macro
to automatically clean up when throwing an exception.</li>
<li>coders/bmp.c (ReadBMPImage): Report an error if RLE decode does
not produce the expected number of bytes.  Fixes oss-fuzz issue
6015 &quot;graphicsmagick/coder_BMP_fuzzer: Out-of-memory in
graphicsmagick_coder_BMP_fuzzer&quot;. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-02-23  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>magick/render.c (DrawImage): Fixed a bug in which graphical
elements defined within &lt;defs&gt; ... &lt;/defs&gt; were being rendered,
contrary to the SVG spec.</li>
</ul>
</blockquote>
<p>2018-02-23  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>magick/render.c (DrawPolygonPrimitive): When filling or
stroking a polygon using a pattern, the fill (or stroke)
and group/object opacity values were not being applied to
the pattern (fixed).</li>
</ul>
</blockquote>
<p>2018-02-23  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/bmp.c (ReadBMPImage): Fix SeekBlob() return value checks.
Add more EOF checks.  Require that a provided ba_offset be a
forward seek in order to avoid the possibility of endless looping.</li>
</ul>
</blockquote>
<p>2018-02-23  Fojtik Jaroslav  &lt;<a class="reference external" href="mailto:JaFojtik&#37;&#52;&#48;seznam&#46;cz">JaFojtik<span>&#64;</span>seznam<span>&#46;</span>cz</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/mat.c Fix oss-fuzz issue 6301. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-02-22  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>magick/alpha_composite.c (BlendQuantumOpacity): The
pixel compositing equation used when compositing an
image into the output was incorrect and has been fixed.</li>
<li>magick/render.c (DrawPolygonPrimitive): When
compositing polygon edge pixels over a transparent
black background, the code would composite as if the
background were opaque black, resulting in the edge
pixels being too dark (fixed).</li>
</ul>
</blockquote>
<p>2018-02-21  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul>
<li><p class="first">magick/render.c (DrawImage): Per the SVG spec, opacity,
fill-opacity, and stroke-opacity values are now clamped
to [0,1].</p>
<p>Also fixed two bugs introduced by changeset 91de8039f27d
(dated 2018-02-12): (1) a group/object opacity value
specified using a percentage was not being converted to a
value in [0,1]; (2) if fill-opacity or stroke-opacity was
1, and the group/object opacity value was set to 1, the
resulting fill-opacity or stroke-opacity value would be
set to 0 instead of 1.</p>
</li>
</ul>
</blockquote>
<p>2018-02-19  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/viff.c (ReadVIFFImage): Fix excessive memory usage.
Fixes oss-fuzz 6006 &quot;graphicsmagick/coder_XV_fuzzer: Out-of-memory
in graphicsmagick_coder_XV_fuzzer&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/txt.c (ReadInt): Avoid benign signed integer overflow due
to accepting an arbitrary number of digits.  Fixes oss-fuzz 6002
&quot;graphicsmagick/coder_TEXT_fuzzer: Integer-overflow in
ReadInt&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/viff.c (ReadVIFFImage): Verify that there is sufficient
data to back up colormap allocation request.  Fixes oss-fuzz 5986
&quot;graphicsmagick/coder_VIFF_fuzzer: Out-of-memory in
graphicsmagick_coder_VIFF_fuzzer&quot;. (Credit to OSS-Fuzz)</li>
<li>magick/memory.c: Define MAGICK_MEMORY_HARD_LIMIT=value to abort
when memory request exceeds value.  Useful to find location of
excessive memory requests.</li>
</ul>
</blockquote>
<p>2018-02-19  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/svg.c (SVGStartElement): Per the SVG spec, the
SVG coder now initializes the MVG coder (which renders
SVG graphical elements) with the the SVG defaults for
fill color, fill-opacity, stroke color, stroke-opacity,
and stroke-width.  This makes the SVG coder independent
of the MVG coder intial state.</li>
</ul>
</blockquote>
<p>2018-02-19  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/svg.c (SVGStartElement): Fixed initialization of
x and y attributes per the SVG spec:  for graphical elements
&quot;image&quot;, &quot;pattern&quot;, &quot;text&quot;, &quot;rect&quot;, and &quot;use&quot;, if the x or y
attribute is not specified, the effect is as if a value of
&quot;0&quot; were specified.</li>
</ul>
</blockquote>
<p>2018-02-18  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/sun.c (ReadSUNImage): Fix edge case which broke file-size
validation logic.  Fixes oss-fuzz issue 5981
&quot;graphicsmagick/coder_SUN_fuzzer: Out-of-memory in
graphicsmagick_coder_SUN_fuzzer&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/txt.c (ReadTXTImage): Validate that file size is
sufficient for claimed image properties.  Fixes oss-fuzz issue
5960 &quot;graphicsmagick/coder_TXT_fuzzer: Out-of-memory in
graphicsmagick_coder_TXT_fuzzer&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/tga.c (ReadTGAImage): Only allow 1 and 8 bit
colormapped/grey images. Fixes oss-fuzz issue 6314
&quot;graphicsmagick/coder_ICB_fuzzer: Undefined-shift in
ReadTGAImage&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/bmp.c (ReadBMPImage): Detect and report when BMP height
value is out of range (too negative). Fixes oss-fuzz issue 6394
&quot;graphicsmagick/coder_BMP_fuzzer: Integer-overflow in
ReadBMPImage&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/rla.c (ReadRLAImage): Detect when RLE decoding is
producing too many samples and report as an error.  Fixes oss-fuzz
issue 6312 &quot;graphicsmagick/coder_RLA_fuzzer: Timeout in
graphicsmagick_coder_RLA_fuzzer&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/fits.c (ReadFITSImage): Validate that file size is
sufficient for claimed image properties.  Fixes oss-fuzz issue
6429 &quot;graphicsmagick/coder_FITS_fuzzer: Timeout in
graphicsmagick_coder_FITS_fuzzer&quot;. (Credit to OSS-Fuzz)</li>
<li>magick/image.c (CloneImage): Check image pixel limits in
CloneImage() when it is used to change the image dimensions.  This
avoids depending on the using code to detect and report such
issues.</li>
<li>coders/xcf.c (ReadXCFImage): Check image pixel limits after each
CloneImage() to assure that image is within specified resource
limits.  Fixes oss-fuzz issue 6399 &quot;graphicsmagick/enhance_fuzzer:
Timeout in graphicsmagick_enhance_fuzzer&quot;. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-02-16  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>magick/render.c (TracePath): TracePath() was not
correctly processing multiple sets of cubic or quadratic
Bezier coordinates when the previous path data command was
not a cubic or quadratic Bezier command.  This would result
in the first control point being equal to the current path
point instead of being computed using the current path
point and the second control point of the previous Bezier
command.</li>
</ul>
</blockquote>
<p>2018-02-15  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>magick/render.c (TracePath): TracePath() was not
consuming commas (if present) at the end of a set of
points when multiple sets of points were specified for
various path commands (e.g., line, Bezier). This
resulted in the remaining sets of points being ignored
(fixed).</li>
</ul>
</blockquote>
<p>2018-02-15  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>magick/render.c (TraceArcPath): No points are generated
by TraceArcPath() if the starting and ending arc points
are the same.  For this case, the coordinate count was not
being set to zero before returning (fixed).</li>
</ul>
</blockquote>
<p>2018-02-15  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>magick/render.c (DrawImage): Clipping of polygons in
DrawImage() would sometime result in a starting pixel
location that was greater than the ending pixel location,
causing a subsequent call to GetImagePixelsEx() to fail
due a column count &lt;= 0.  Modified the clipping code to
eliminate this condition, and also to return early if
the polygon lies completely outside the image boundaries.
Also fixed variable declarations from a previous commit
that were causing problems for the C89 compiler.</li>
</ul>
</blockquote>
<p>2018-02-13  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/topol.c (ReadTOPOLImage): Detect EOF immediately rather
than spinning.  Fixes oss-fuzz issue 6303
&quot;graphicsmagick/coder_TOPOL_fuzzer: Timeout in
graphicsmagick_coder_TOPOL_fuzzer&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/dcm.c (DCM_SetupRescaleMap): Avoid excessive left shift.
Fixes oss-fuzz issue 6256 &quot;graphicsmagick/coder_DCM_fuzzer:
Undefined-shift in DCM_SetupRescaleMap&quot;. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-02-12  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/wpg.c (ExtractPostscript): Detect EOF on input while
transferring bytes to Postscript file.  Fixes oss-fuzz issue 6087
&quot;graphicsmagick/coder_WPG_fuzzer: NULL&quot;.  Later identified to be
CVE-2017-17682 as previously discovered in ImageMagick.  (Credit to
OSS-Fuzz)</li>
<li>coders/pdb.c (ReadPDBImage): Quit attempting to read image data
immediately at EOF. Fixes oss-fuzz issue 6252
&quot;graphicsmagick/coder_PDB_fuzzer: Timeout in
graphicsmagick_coder_PDB_fuzzer&quot;.  (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-02-12  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/topol.c (ReadTOPOLImage): Avoid index out of bounds when
input filename does not use a file extension. Fixes oss-fuzz issue
6237 &quot;graphicsmagick/coder_TOPOL_fuzzer: Index-out-of-bounds in
ReadTOPOLImage&quot;.  (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-02-12  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>magick/render.c (DrawImage): Object/group opacity,
when set in DrawImage(), would overwrite the fill
and stroke opacities. This has been fixed so that
the object opacity is now combined with the fill
and stroke opacities per the SVG spec.</li>
</ul>
</blockquote>
<p>2018-02-12  Fojtik Jaroslav  &lt;<a class="reference external" href="mailto:JaFojtik&#37;&#52;&#48;seznam&#46;cz">JaFojtik<span>&#64;</span>seznam<span>&#46;</span>cz</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/mat.c Fix oss-fuzz issue 6021. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-02-11  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/dcm.c (ReadDCMImage): Avoid undefined left shift of
short.  Fix memory leaks in error reporting paths.  Fixes oss-fuzz
issue 6217 &quot;graphicsmagick/coder_DCM_fuzzer: Undefined-shift in
ReadDCMImage&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/dpx.c (ReadDPXImage): Avoid divide by zero exception in
the case where reference high equals reference low. Fixes oss-fuzz
issue 6215 &quot;graphicsmagick/coder_DPX_fuzzer: Divide-by-zero in
ReadDPXImage&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/topol.c (ReadTOPOLImage): Avoid index out of bounds when
input filename does not use a file extension.</li>
<li>coders/cut.c (ReadCUTImage): Avoid index out of bounds when
input filename does not use a file extension. Fixes oss-fuzz issue
6218 &quot;graphicsmagick/coder_CUT_fuzzer: Index-out-of-bounds in
ReadCUTImage&quot;.  (Credit to OSS-Fuzz)</li>
<li>coders/pwp.c (ReadPWPImage): Force temporary file to be read as
a SFW file rather than autodetecting the format.  Fixes oss-fuzz
issue 6220 &quot;graphicsmagick/coder_PWP_fuzzer: Indirect-leak in
AllocateImage&quot;.  (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-02-10  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/pdf.c (WritePDFImage): Assure that xref memory is not
leaked if an exception is thrown.  Fixes oss-fuzz issue 5968
&quot;graphicsmagick/coder_EPDF_fuzzer: Direct-leak in MagickRealloc&quot;.
(Credit to OSS-Fuzz)</li>
<li>coders/tim.c (ReadTIMImage): Verify that 4/8 bit PSX TIM
provides a CLUT and verify indexes.  Fixes oss-fuzz issue 5972
&quot;graphicsmagick/coder_TIM_fuzzer: Null-dereference WRITE in
ReadTIMImage&quot;.  (Credit to OSS-Fuzz)</li>
<li>coders/topol.c (ReadTOPOLImage): Add additional header
validations.  Fixes oss-fuzz issue 5975
&quot;graphicsmagick/coder_TOPOL_fuzzer: Floating-point-exception in
ReadTOPOLImage&quot;.  (Credit to OSS-Fuzz)</li>
<li>coders/bmp.c (ReadBMPImage): Avoid possible division by zero
when decoding CIE primary values. (Credit to OSS-Fuzz)</li>
<li>magick/export.c (ExportViewPixelArea): Only compute
unsigned_maxvalue if sample_bits &lt;= 32.</li>
<li>magick/import.c (ImportViewPixelArea): Assure that
double_maxvalue minus double_minvalue is not zero, or excessively
close to zero to avoid divide by zero exception or impossible
scaling factor. (Credit to OSS-Fuzz)
(ImportViewPixelArea): Only compute unsigned_maxvalue if
sample_bits &lt;= 32.</li>
</ul>
</blockquote>
<p>2018-02-09  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/dib.c (ReadDIBImage): Validate that image width is not
too negative such that it's absolute value can not fit in 32-bit
unsigned width. Resolves oss-fuzz issue 6179
&quot;graphicsmagick/coder_ICO_fuzzer: Integer-overflow in
ReadDIBImage&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/dcm.c (funcDCM_BitsStored): Validate DICOM datum size.
Use a different means to determine the maximum value which does
not use excessive shifting.  Resolves oss-fuzz issue 6165
&quot;graphicsmagick/coder_DCM_fuzzer: Undefined-shift in
funcDCM_BitsStored&quot;. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-02-08  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/dpx.c (ReadWordU32BE): Add casts to avoid default type
promotion from unsigned char to 'int' leading to undefined
behavior for 24 bit shift. Fixes oss-fuzz issue 6058
&quot;graphicsmagick/coder_DPX_fuzzer: Undefined-shift in
ReadWordU32BE&quot;. (Credit to OSS-Fuzz)
(ReadDPXImage): Require that the file has at least one element.
Add bountiful casts for values which are left-shifted.  Fixes
oss-fuzz issue 5962 &quot;graphicsmagick/coder_DPX_fuzzer:
Undefined-shift in ReadDPXImage&quot;. (Credit to OSS-Fuzz)</li>
<li>coders/dcm.c (DCM_ReadOffsetTable): Add casts Add casts to avoid
default type promotion from unsigned char to 'int' leading to
undefined behavior for 16 bit shift. Fixes oss-fuzz issue 5980
&quot;graphicsmagick/coder_DCM_fuzzer: Undefined-shift in
DCM_ReadOffsetTable&quot;. (Credit to OSS-Fuzz)</li>
<li>magick/module_aliases.h (ModuleAliases): Add missing mapping
from &quot;ICODIB&quot; format to &quot;DIB&quot; module.</li>
<li>magick/import.c (ImportUInt32Quantum): Add casts to avoid
default type promotion from unsigned char to 'int' leading to
undefined behavior for 24 bit shift.  Fixes oss-fuzz
&quot;graphicsmagick/coder_P7_fuzzer: Undefined-shift in
ImportRGBQuantumType&quot;. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-02-07  Fojtik Jaroslav  &lt;<a class="reference external" href="mailto:JaFojtik&#37;&#52;&#48;seznam&#46;cz">JaFojtik<span>&#64;</span>seznam<span>&#46;</span>cz</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/wpg.c Fix oss-fuzz issue 5964
&quot;graphicsmagick/coder_MAT_fuzzer: Heap-use-after-free in
GetLocaleExceptionMessage&quot;. (Credit to OSS-Fuzz)</li>
</ul>
</blockquote>
<p>2018-02-07    Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>magick/render.c (IsPoint): Fixed a bug in which
IsPoint() would reject as a valid coordinate value
strings that did not begin with an integer: e.g.,
&quot;0.25&quot; would be accepted, but &quot;.25&quot; would not.</li>
</ul>
</blockquote>
<p>2018-02-07  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/cut.c (ReadCUTImage): Fix DestroyImageInfo() of NULL
pointer leading to assertion.  Fixes oss-fuzz issue 6067
&quot;graphicsmagick/coder_CUT_fuzzer: Unknown signal in
DestroyImageInfo&quot;.</li>
<li>coders/tga.c (ReadTGAImage): Throw exception rather than
assertion for unexpected comment size.  Fixes oss-fuzz issue 5961
&quot;graphicsmagick/coder_ICB_fuzzer: ASSERT: (size_t)
(tga_info.id_length+1) == commentsize&quot;.</li>
</ul>
</blockquote>
<p>2018-02-06  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/pdf.c (WritePDFImage): Free 'xref' allocation before
error return.  Fixes oss-fuzz issue 5968
&quot;graphicsmagick/coder_EPDF_fuzzer: Direct-leak in MagickRealloc&quot;.</li>
</ul>
</blockquote>
<p>2018-02-04  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/pdb.c (ReadPDBImage): Fix heap buffer overflow if blob is
already at EOF when comment is read.  Fixes oss-fuzz issue 5997
&quot;graphicsmagick/coder_PDB_fuzzer: Heap-buffer-overflow in
SetImageAttribute&quot;.</li>
<li>coders/dpx.c (ReadDPXImage): Fix memory leak of user data if
user data is truncated.  Fix consumption of one uninitialized
stack bytes.  Fixes oss-fuzz issue 5973:
graphicsmagick/enhance_fuzzer: Direct-leak in ReadDPXImage.</li>
<li>coders/pnm.c (ReadPNMImage): Detect and avoid division by zero.
Fixes Issue 5959 in oss-fuzz: graphicsmagick/coder_P7_fuzzer:
Divide-by-zero in ReadPNMImage</li>
<li>magick/xwindow.c (MagickXClientMessage): Eliminate valgrind
gripe about use of uninitialized stack data by clearing allocation
to zero.
(MagickXMakeImage): Eliminate valgrind gripe about use of
uninitialized heap data by clearing allocation to zero.</li>
<li>coders/pwp.c (ReadPWPImage): Remove bogus EOF test on an image
with a closed blob.  Fixes Issue 5957 in oss-fuzz:
graphicsmagick/coder_PWP_fuzzer: ASSERT: image-&gt;blob-&gt;type !=
UndefinedStream.</li>
<li>www/Changes.rst: Fix typo with spelling &quot;ChangeLog-2017.html&quot;.
Resolves SourceForge issue #544 &quot;dead link 2017 changelog page on
GraphicsMagick web site&quot;.</li>
</ul>
</blockquote>
<p>2018-02-03  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>magick/static.c (OpenModule): Assure that status is initialized.
Resolves Coverity 261207 &quot;Uninitialized scalar variable&quot;.</li>
<li>wand/magick_wand.c (MagickHasColormap): New function to test if
the image has a colormap.
(MagickIsGrayImage): New function to test if the image uses only
gray pixels.
(MagickIsMonochromeImage): New function to test if the image uses
only monochrome pixels.
(MagickIsOpaqueImage): New function to test if the image uses only
opaque pixels.
(MagickIsPaletteImage): New function to test if the image is based
on a color palette.  Above functions are written by Troy Patteson
and submitted via SourceForge patch #54 &quot;Wand API patches: has
colormap, is gray image, is monochrome image, is opaque image, is
palette image&quot;.</li>
<li>fuzzing: Added initial OSS-Fuzz integration by Alex Gaynor.
From SourceForge patch #55 &quot;OSS-Fuzz integration&quot;</li>
<li>coders/png.c (ReadMNGImage): Fix free using possibly unallocated
pointer value.</li>
<li>magick/blob.c (SeekBlob): Remove implicit extension of blob
allocation size based on seek offset.  Besides making an
assumption about how the blob memory was allocated, this
reallocation feature provides a memory DOS opportunity.  Resolves
issue reported by Alex Gaynor via email entitled &quot;Security issue
with memory management in Magick++&quot; to the graphicsmagick-security
list on 31 Jan 2018.
(SeekBlob):</li>
<li>coders/jpeg.c (ReadIPTCProfile): Revert inadvertent wrong return
codes added by change on December 9, 2017.  Fixes SourceForge bug
542 &quot;Improper call to JPEG library in state 201&quot; since 1.3.28.</li>
</ul>
</blockquote>
<p>2018-02-01  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>magick/annotate.c (RenderFreetype): Fixed the text
opacity computation in RenderFreeType(). This bug caused
the text fill color to bleed into the character cell when
the SVG &quot;fill-opacity&quot; is less than 1.0.</li>
</ul>
</blockquote>
<p>2018-02-01  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>magick/attribute.c (CloneImageAttributes): Fixed a bug
in which the source image attributes would always replace
the destination image attributes instead of being appended
to them, and the destination image attributes would become
a memory leak.</li>
</ul>
</blockquote>
<p>2018-01-31  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/svg.c (SVGStartElement): Fixed a bug in which the
x,y location values for a &lt;text&gt; or &lt;tspan&gt; were overwritten
by the x,y values for the next &lt;tspan&gt; before the previous
values were used.  This caused the text associated with the
previous &lt;text&gt; or &lt;tspan&gt; to appear at the location
specified for the next &lt;tspan&gt;.</li>
</ul>
</blockquote>
<p>2018-01-30  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>magick/static.c: Use !defined(SupportMagickModules) to enable
static module loader.  Fixes SourceForge bug #543 &quot;Multiple
definition of &quot;OpenModule&quot; (etc) when cross-compiling shared&quot;.</li>
</ul>
</blockquote>
<p>2018-01-29  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/svg.c (SVGStartElement): A terminating '&gt;' in
a geometry string is interpreted to mean that the dimensions
of an image should only be changed if its width or height
exceeds the geometry specification.  For an unapparent and
undocumented reason, a terminating '&gt;', if present, was
being nulled out, making this feature unusable for SVG files
(now fixed).</li>
</ul>
</blockquote>
<p>2018-01-29  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/svg.c (ReadSVGImage): If there is a geometry string
in image_info-&gt;size (e.g., gm convert -size &quot;50x50%&quot; in.svg
out.png), AllocateImage() sets image-&gt;columns and image-&gt;rows
to the width and height values from the size string.  However,
this makes no sense if the size string was something like
&quot;50x50%&quot; (we'll get columns = rows = 50).  So we set columns
and rows to 0 after AllocateImage(), which is the same as if
no size string was supplied by the client.  This also results
in svg_info.bounds to be set to 0,0 (i.e., unknown), so that
svg_info.bounds will later be set using the image size
information from either the svg &quot;canvas&quot; width/height or from
the viewbox.  Later, variable &quot;page&quot; is set from
svg_info-&gt;bounds. Then the geometry string in image_info-&gt;size
gets applied to the (now known) &quot;page&quot; width and height when
SvgStartElement() calls GetMagickGeometry(), and the intended
result is obtained.</li>
</ul>
</blockquote>
<p>2018-01-24  Greg Wolfe  &lt;<a class="reference external" href="mailto:gregory&#46;wolfe&#37;&#52;&#48;kodakalaris&#46;com">gregory<span>&#46;</span>wolfe<span>&#64;</span>kodakalaris<span>&#46;</span>com</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/svg.c (SVGStartElement): When the density (DPI)
is specified using the ImageInfo::density member, the derived
scale factor is incorrectly applied a second time to the
width and height members of variable RectangleInfo page.
Fixes SourceForge ticket #451.</li>
</ul>
</blockquote>
<p>2018-01-23  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>magick/static.c: Use a lazy-loader for static modules with the
same external interface as the lazy-loader for dynamic modules.</li>
</ul>
</blockquote>
<p>2018-01-20  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>NEWS.txt: Prepare for 1.3.28 release.</li>
</ul>
</blockquote>
<p>2018-01-17  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>NEWS.txt: Update with changes since previous release.</li>
</ul>
</blockquote>
<p>2018-01-14  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>PerlMagick/Magick.xs: Compiler warnings reduction.</li>
<li>magick/pixel_cache.h: Mark GetPixels(), GetIndexes(), and
GetOnePixel() as deprecated.  Compilers may produce a warning if
these functions are used.</li>
<li>magick/pixel_cache.c (InterpolateColor): Return black pixel if
InterpolateViewColor() reports failure.</li>
<li>coders/png.c (ReadMNGImage): Fix memory leak of chunk and
mng_info in error path.</li>
<li>coders/gif.c (ReadGIFImage): Fix memory leak of global colormap.</li>
</ul>
</blockquote>
<p>2018-01-13  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>magick/symbols.h: Fix SourceForge issue #538 &quot;13 symbols in
common with ImageMagick despite --enable-symbol-prefix&quot;.</li>
<li>coders/bmp.c (ReadBMPImage): Fix non-terminal loop due to
unexpected bit-field mask value.  Fixes SourceForge issue #541
&quot;Infinite Loop in ReadBMPImage (coders/bmp.c)&quot;.</li>
<li>coders/jpeg.c (JPEGMessageHandler): Revert code added on
2017-07-08 to promote certain warnings from libjpeg to errors.
Add code to rationalize claimed image dimensions based on file
size.  Resolves SourceForge issue #539 &quot;Images with libjpeg
warnings result in error&quot;.</li>
</ul>
</blockquote>
<p>2018-01-11  Fojtik Jaroslav  &lt;<a class="reference external" href="mailto:JaFojtik&#37;&#52;&#48;seznam&#46;cz">JaFojtik<span>&#64;</span>seznam<span>&#46;</span>cz</a>&gt;</p>
<blockquote>
<ul class="simple">
<li><dl class="first docutils">
<dt>coders/wpg.c Recursive ReadImage could return multiple scenes</dt>
<dd>fixed.</dd>
</dl>
</li>
</ul>
</blockquote>
<p>2018-01-07  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>coders/png.c (ReadOnePNGImage): Quit 'passes' loop if we
encountered an error</li>
<li>magick/pixel_cache.c (SetNexus): Fix heap overwrite in
AcquireCacheNexus() due to SetNexus() not using an allocated
staging area for the pixels like it should.  This problem impacts
all 1.3.X releases.  Resolves SourceForge issues 532
&quot;heap-buffer-overflow bug in ReadWPGImage&quot; and #531
&quot;heap-buffer-overflow in AcquireCacheNexus&quot;.</li>
<li>magick/pixel_cache.c (InterpolateViewColor): Now returns
MagickPassFail rather than void.  Code using this function is
updated to check the return status.</li>
</ul>
</blockquote>
<p>2018-01-01  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>magick/describe.c (DescribeImage): Discriminate between
AcquireImagePixels() returning NULL or finding a transparent
pixel.  This avoids use of a null pointer in the case where
AcquireImagePixels() returns NULL.</li>
</ul>
</blockquote>
<p>2017-12-31  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>magick/static.c: Change static module initialization to be based
on an initialized list rather than a squence of function calls in
order to simplify maintenance and possibly address future
requirements.</li>
</ul>
</blockquote>
<p>2017-12-30  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
<blockquote>
<ul class="simple">
<li>Copyright.txt: Bump copyright years and rotate ChangeLog.</li>
</ul>
</blockquote>
</div>
</body>
</html>