github.com/kaydxh/golang@v0.0.131/pkg/gocv/cgo/third_path/graphics-magick/share/doc/GraphicsMagick/www/ChangeLog-2015.html (about) 1 <?xml version="1.0" encoding="utf-8" ?> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 4 <head> 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 6 <meta name="generator" content="Docutils 0.15.2: http://docutils.sourceforge.net/" /> 7 <title>ChangeLog-2015.rst</title> 8 <link rel="stylesheet" href="docutils-articles.css" type="text/css" /> 9 </head> 10 <body> 11 12 <div class="banner"> 13 <img src="images/gm-107x76.png" alt="GraphicMagick logo" width="107" height="76" /> 14 <span class="title">GraphicsMagick</span> 15 <form action="http://www.google.com/search"> 16 <input type="hidden" name="domains" value="www.graphicsmagick.org" /> 17 <input type="hidden" name="sitesearch" value="www.graphicsmagick.org" /> 18 <span class="nowrap"><input type="text" name="q" size="25" maxlength="255" /> <input type="submit" name="sa" value="Search" /></span> 19 </form> 20 </div> 21 22 <div class="navmenu"> 23 <ul> 24 <li><a href="index.html">Home</a></li> 25 <li><a href="project.html">Project</a></li> 26 <li><a href="download.html">Download</a></li> 27 <li><a href="README.html">Install</a></li> 28 <li><a href="Hg.html">Source</a></li> 29 <li><a href="NEWS.html">News</a> </li> 30 <li><a href="utilities.html">Utilities</a></li> 31 <li><a href="programming.html">Programming</a></li> 32 <li><a href="reference.html">Reference</a></li> 33 </ul> 34 </div> 35 <div class="document"> 36 37 38 <p>2015-12-12 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 39 <blockquote> 40 <ul class="simple"> 41 <li>ttf: Update bundled freetype to release 2.6.2.</li> 42 <li>libxml: Update bundled libxml2 to release 2.9.3.</li> 43 </ul> 44 </blockquote> 45 <p>2015-11-28 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 46 <blockquote> 47 <ul class="simple"> 48 <li>webp: Updated bundled libwebp to release 0.4.4.</li> 49 <li>png: Updated bundled libpng to release 1.6.19.</li> 50 </ul> 51 </blockquote> 52 <p>2015-11-05 Glenn Randers-Pehrson <<a class="reference external" href="mailto:glennrp%40simple.dallas.tx.us">glennrp<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 53 <blockquote> 54 <ul class="simple"> 55 <li>coders/png.c (WriteOnePNGImage): Added "volatile" to 56 several declarations to stop "might be clobbered" warnings.</li> 57 </ul> 58 </blockquote> 59 <p>2015-11-07 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 60 <blockquote> 61 <ul class="simple"> 62 <li>NEWS.txt: Update NEWS for 1.3.23 release.</li> 63 </ul> 64 </blockquote> 65 <p>2015-11-06 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 66 <blockquote> 67 <ul class="simple"> 68 <li>magick/command.c (IdentifyImageCommand): Fix problem that 69 identify with -format "%A" does not always report correct answer 70 due to insufficient analysis of image. Fixes SourceForge bug #326 71 "gm identify: transparency detection bug ".</li> 72 </ul> 73 </blockquote> 74 <p>2015-11-05 Glenn Randers-Pehrson <<a class="reference external" href="mailto:glennrp%40simple.dallas.tx.us">glennrp<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 75 <blockquote> 76 <ul class="simple"> 77 <li>coders/png.c (WriteOnePNGImage): Restored a "volatile" 78 declaration that was accidentally deleted on 2015-11-03.</li> 79 </ul> 80 </blockquote> 81 <p>2015-11-04 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 82 <blockquote> 83 <ul class="simple"> 84 <li>configure.ac: Add checks for 'ps2write' and 'eps2write' as 85 Ghostscript Postscript and Encapsulated Postscript 86 writers. Resolves issue reported to graphicsmagick-bugs mailing 87 list on 2015-11-01 entitled "Failure to detect pswrite and 88 epswrite Ghostscript devices".</li> 89 </ul> 90 </blockquote> 91 <p>2015-11-03 Glenn Randers-Pehrson <<a class="reference external" href="mailto:glennrp%40simple.dallas.tx.us">glennrp<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 92 <blockquote> 93 <ul class="simple"> 94 <li>coders/png.c (ReadRawProfile): Issue a warning instead of 95 an error when attempting to read a zero-length profile.</li> 96 </ul> 97 </blockquote> 98 <p>2015-11-01 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 99 <blockquote> 100 <ul class="simple"> 101 <li>magick/studio.h (MagickSleep): Provide the macro 'MagickSleep' 102 to call a function which delays for one second. No longer provide 103 a macro 'sleep' in WIN32 compiles. Resolves issue reported to 104 graphicsmagick-bugs mailing list on 2005-11-01 entitled "MinGW 105 build error when sleep re#defined as Sleep".</li> 106 </ul> 107 </blockquote> 108 <p>2015-10-30 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 109 <blockquote> 110 <ul class="simple"> 111 <li>Magick++/demo/demos.tap: Add zoom test cases to test resize to 112 original dimensions, change height, and change width.</li> 113 <li>magick/resize.c (ScaleImage): Fix regression introduced in 114 1.3.22 release which results in pixel cache not open if the scale 115 width and height match the original. Patch by Troy Patteson. 116 Fixes part of SourceForge bug #323 "ScaleImage() issues in 117 v1.3.22". 118 (ScaleImage): Fix double free problem when scaled rows equals 119 original rows. This regression was added in the 1.3.22 release 120 via changset 080b99bba574. Based on patch by Troy Patteson. 121 Fixes remaining part SourceForge bug #323 "ScaleImage() issues in 122 v1.3.22".</li> 123 </ul> 124 </blockquote> 125 <p>2015-10-24 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 126 <blockquote> 127 <ul class="simple"> 128 <li>www/Magick++/Image.rst (thumbnail): Paragraph heading fix. 129 Resolves SourceForge issue #321 "find tiny error in 130 Magick++/Image.html document".</li> 131 </ul> 132 </blockquote> 133 <p>2015-10-06 Glenn Randers-Pehrson <<a class="reference external" href="mailto:glennrp%40simple.dallas.tx.us">glennrp<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 134 <blockquote> 135 <ul class="simple"> 136 <li>docs/*.imdoc: Changed synopses in manpages to add "gm " 137 prefix to commands. Updated synopsis for "convert" to agree 138 with what's in the "gm" manpage.</li> 139 </ul> 140 </blockquote> 141 <p>2015-10-05 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 142 <blockquote> 143 <ul class="simple"> 144 <li>configure.ac: Remove CFLAGS and LDFLAGS deduplication code. 145 Resolves SourceForge bug #320 OS X "universal build failure".</li> 146 </ul> 147 </blockquote> 148 <p>2015-10-04 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 149 <blockquote> 150 <ul class="simple"> 151 <li>www/index.rst: Updated for 1.3.22 release.</li> 152 <li>NEWS.txt: Updated for 1.3.22 release.</li> 153 </ul> 154 </blockquote> 155 <p>2015-09-27 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 156 <blockquote> 157 <ul class="simple"> 158 <li>NEWS.txt: Brought up to date with changes thus far since last 159 release.</li> 160 <li>magick/blob.c (OpenBlob): Disable fflush() of read-only handle 161 under Microsoft Windows, which produced a spurious error status, 162 blocking file reads for Visual Studio 2015 on Windows 2012 server. 163 Problem was reported and diagnosed by Dirk Lemstra.</li> 164 </ul> 165 </blockquote> 166 <p>2015-09-19 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 167 <blockquote> 168 <ul class="simple"> 169 <li>tiff: Update bundled libtiff sources to 4.0.6 release.</li> 170 <li>magick/module.c (InitializeModuleSearchPath): Fix compilation 171 problem when UseInstalledMagick is not defined.</li> 172 </ul> 173 </blockquote> 174 <p>2015-09-13 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 175 <blockquote> 176 <ul class="simple"> 177 <li>coders/xpm.c: Static string/array allocations are now more 178 const.</li> 179 <li>coders/{ps.c, ps2.c, ps3.c}: Static string/array allocations are 180 now more const.</li> 181 <li>coders/palm.c: Palm static arrays should be 'const'.</li> 182 <li>coders/meta.c (jpeg_embed): Stop sharing writeable static string 183 'psheader'. 184 (tag_spec): The 'tags' static array should be all 'const'.</li> 185 <li>coders/jp2.c: Try to reduce the amount of non-const static data.</li> 186 <li>coders/dcm.c (dicom_info): Try to make dicom_info array more 187 'const'.</li> 188 <li>coders/dpx.c: Eliminate use of static buffer strings.</li> 189 <li>coders/png.c: Make MNG chunk id strings constant rather than 190 initialized data.</li> 191 <li>magick/render.c (DrawAffineImage): Fix problem that sometimes 192 output rows are skipped when using OpenMP. Problem identification 193 and patch by Kevin Matzen. Resolves SourceForge issue #316 194 "-affine sometimes produces output with missing rows".</li> 195 </ul> 196 </blockquote> 197 <p>2015-08-30 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 198 <blockquote> 199 <ul class="simple"> 200 <li>tests/rwblob.tap: Add specific tests for BMP2 BMP3 subformats.</li> 201 <li>tests/rwfile.tap: Add specific tests for BMP2 BMP3 PS2 PS3 202 subformats.</li> 203 </ul> 204 </blockquote> 205 <p>2015-08-30 Jaroslav Fojtik <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 206 <blockquote> 207 <p>* magick/ImageMagick.rc Replace Imagemagick.ico by GraphicsMagick.ico</p> 208 <p>* magick/Imagemagick.ico is no longer needed and not referenced anywhere.</p> 209 </blockquote> 210 <p>2015-08-22 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 211 <blockquote> 212 <ul class="simple"> 213 <li>README.txt: Fix SourceForge bug 314 "README: bad hg clone URL".</li> 214 <li>magick/module.c (GetModuleListForDirectory): Fix Coverity 107017 215 "Copy into fixed size buffer" and 107013 "Overlapping buffer in 216 memory copy". 217 (UnloadModule): Fix SourceForge bug 312 "uninitialized variable 218 "name" in UnloadModule".</li> 219 <li>coders/bmp.c (WriteBMPImage): Fix typo in fix on 2015-08-17. 220 Fixes Coverity 107014 "Test should be assignment".</li> 221 <li>magick/module.c (OpenModules): Fix Coverity 107016 "Resource 222 leak". 223 (GetModuleListForDirectory): Fix Coverity 107015 "Resource leak".</li> 224 </ul> 225 </blockquote> 226 <p>2015-08-17 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 227 <blockquote> 228 <ul class="simple"> 229 <li>coders/bmp.c (WriteBMPImage): Fix inverted alpha channel when 230 writing BGRA8888 format. Problem was reported by 张铎 via the 231 graphicsmagick-help discussion list on 2015-08-17.</li> 232 </ul> 233 </blockquote> 234 <p>2015-08-10 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 235 <blockquote> 236 <ul class="simple"> 237 <li>magick/attribute.c (GenerateEXIFAttribute): Verify that entry 238 pointer is within the metadata buffer in order to avoid buffer 239 overflow. Resolution and patch by Federico Larumbe.</li> 240 <li>magick/profile.c (SetImageProfile): Avoid crash given NULL 241 profile pointer. Resolution and patch by Federico Larumbe.</li> 242 </ul> 243 </blockquote> 244 <p>2015-08-09 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 245 <blockquote> 246 <ul class="simple"> 247 <li>magick/attribute.c (GenerateEXIFAttribute): Fix logic problem 248 while validating EXIF GPS_OFFSET. Problem reported by Federico 249 Larumbe.</li> 250 </ul> 251 </blockquote> 252 <p>2015-07-27 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 253 <blockquote> 254 <ul class="simple"> 255 <li>coders/miff.c (ReadMIFFImage): Applied fix 256 (<a class="reference external" href="http://hg.code.sf.net/u/zacmorris/graphicsmagick/rev/edcc4c184b42">http://hg.code.sf.net/u/zacmorris/graphicsmagick/rev/edcc4c184b42</a>) 257 by Zac Morris to detect buffer overrun while reading zip 258 compressed data. 259 (ReadMIFFImage): Fixed some memory leaks which were occuring when 260 an exception was thrown from zip-compressed data reader.</li> 261 </ul> 262 </blockquote> 263 <p>2015-07-26 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 264 <blockquote> 265 <ul class="simple"> 266 <li>coders/tiff.c (WritePTIFImage): Fix SourceForge issue #269 267 "Convert creates SubfileType 0x2 instead of 0x1". From looking at 268 the code, this is a regression since the time support for the page 269 subfile type was added (probably via changeset 11831 270 (037eef0f67f2) on 2007-08-17).</li> 271 </ul> 272 </blockquote> 273 <p>2015-07-19 Jaroslav Fojtik <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 274 <blockquote> 275 <ul class="simple"> 276 <li>dcraw/dcraw.c: Fixed bad define WIN32.</li> 277 </ul> 278 </blockquote> 279 <p>2015-07-18 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 280 <blockquote> 281 <ul class="simple"> 282 <li>NEWS.txt, www/Hg.rst, www/index.rst: Applied English bugs patch 283 by Amadu Jalloh.</li> 284 <li>dcraw/dcraw.c: Add a port replacement for strnlen().</li> 285 </ul> 286 </blockquote> 287 <p>2015-07-14 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 288 <blockquote> 289 <ul class="simple"> 290 <li>wand/magick_wand.h: The declaration for MagickGetImageGravity() 291 was missing. Resolves SourceForge bug #308 magick_wand.h misses 292 declaration of MagickGetImageGravity.</li> 293 </ul> 294 </blockquote> 295 <p>2015-07-12 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 296 <blockquote> 297 <ul class="simple"> 298 <li>dcraw: Update bundled dcraw to release 9.26.0.</li> 299 <li>png: Updated bundled libpng to release 1.6.17.</li> 300 <li>lcms: Update bundled lcms2 to release 2.7.</li> 301 </ul> 302 </blockquote> 303 <p>2015-07-11 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 304 <blockquote> 305 <ul class="simple"> 306 <li>NEWS.txt: Brought up to date with changes thus far since last 307 release.</li> 308 <li>magick/version.h.in (MagickCopyright): Update most recent 309 copyright year.</li> 310 <li>magick/render.c (DrawAffineImage): Fix problem with negative x 311 offset. Resolves SourceForge issue #306 "gm fails to convert svg 312 to jpeg if svg has images with negative coordinates".</li> 313 <li>magick/pixel_cache.c (ReadCachePixels): Add checks for integer 314 overflows.</li> 315 </ul> 316 </blockquote> 317 <p>2015-07-07 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 318 <blockquote> 319 <ul class="simple"> 320 <li>magick/module.c (ModuleAliases): Add a module alias for GRAYA.</li> 321 </ul> 322 </blockquote> 323 <p>2015-07-05 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 324 <blockquote> 325 <ul class="simple"> 326 <li>magick/montage.c (MontageImages): Fix Coverity 101317 "Resource 327 leak".</li> 328 <li>magick/blob.c: Limit the data size passed to the read/write 329 calls to the filesystem blocksize and make multiple calls if 330 required.</li> 331 <li>magick/pixel_cache.c: Limit the data size passed to the 332 read/write, pread/prwite calls and make multiple calls if 333 required.</li> 334 </ul> 335 </blockquote> 336 <p>2015-07-04 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 337 <blockquote> 338 <ul class="simple"> 339 <li>magick/blob.c (WriteBlobFile): Properly handle short read. Read 340 data in units of filesystem block size. 341 (BlobToFile): Write data in units of filesystem block size.</li> 342 <li>patches: Added directory of patches which may be useful when 343 integrating new versions of 3rd-party programs or libraries into 344 the VisualMagick build.</li> 345 <li>libxml: Re-applied libxml changes which were used in prior 346 release.</li> 347 </ul> 348 </blockquote> 349 <p>2015-07-03 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 350 <blockquote> 351 <ul class="simple"> 352 <li>webp: Updated bundled libwebp to release 0.4.3.</li> 353 <li>ttf: Update bundled freetype to release 2.6.</li> 354 <li>libxml: Update bundled libxml2 to release 2.9.2.</li> 355 <li>tiff/VERSION: Update bundled libtiff to release 4.0.4.</li> 356 <li>magick/nt_base.h (HAVE_TIFFISCODECCONFIGURED): Enable use of 357 TIFFIsCODECConfigured in MSVC build.</li> 358 <li>coders/tiff.c: I am too lazy to modify VisualMagick configure so 359 it is possible to include jpeglib.h in tiff.c, so block out this 360 low-value code just for MSVC builds.</li> 361 </ul> 362 </blockquote> 363 <p>2015-06-28 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 364 <blockquote> 365 <ul class="simple"> 366 <li>configure.ac, magick/profile.c: Removed support for lcms 1.X. 367 No one should be using a lesser version than lcms 2.0.</li> 368 </ul> 369 </blockquote> 370 <p>2015-06-23 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 371 <blockquote> 372 <ul class="simple"> 373 <li>magick/blob.c (DisassociateBlob): Applied patch by Dirk Lemstra 374 to assure that the image blob is no longer shared with other 375 images when the image is written. This helps with thread safety.</li> 376 </ul> 377 </blockquote> 378 <p>2015-06-14 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 379 <blockquote> 380 <ul class="simple"> 381 <li>magick/command.c: Add/fix utility usage messages for -box, 382 -convolve, -gravity, -linewidth, -list, -mattecolor, -render and 383 -shave. Resolves SourceForge issue #302 "MogrifyUsage prints 384 incomplete information ".</li> 385 </ul> 386 </blockquote> 387 <p>2015-06-10 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 388 <blockquote> 389 <ul class="simple"> 390 <li>coders/tiff.c (WriteTIFFImage): Include JPEG headers to obtain 391 its BITS_IN_JSAMPLE definition. This is needed so we can know 392 what JPEG depth libtiff supports.</li> 393 <li>www/index.rst: Add mention of GraphicsMagick having zero defects 394 reported by Coverity.</li> 395 </ul> 396 </blockquote> 397 <p>2015-06-07 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 398 <blockquote> 399 <ul class="simple"> 400 <li>Magick++/lib/STL.cpp (adaptiveThresholdImage): Add a new 401 constructor which accepts a 'double' offset value. The previous 402 version of this constructor is deprecated and subject to removal 403 in the future. The size of the class is enlarged to store a 404 'double' and so this is a break in the ABI when this class was 405 used. Code using this class should be re-compiled.</li> 406 <li>Magick++/lib/Image.cpp (adaptiveThreshold): Add a new version of 407 this method which accepts a 'double' offset value. The previous 408 version of the method is deprecated and subject to removal in the 409 future. Problem was reported by Dirk Lemstra.</li> 410 </ul> 411 </blockquote> 412 <p>2015-05-27 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 413 <blockquote> 414 <ul class="simple"> 415 <li>coders/gray.c (ReadGRAYImage): Based on feedback from Glenn, 416 return a gray image from the reader, even if a channelized format 417 specifier is given.</li> 418 </ul> 419 </blockquote> 420 <p>2015-05-26 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 421 <blockquote> 422 <ul class="simple"> 423 <li>coders/gray.c (ReadGRAYImage): Fix read glitch caused by 424 incorrect memset(). Added missing break statement to switch. 425 Added more logging. 426 (RegisterGRAYImage): Register "gray" formats R, G, B, C, M, Y, K, 427 O such that they are not triggered by file extension. It is 428 necessary to apply a magick prefix to the file name (or set image 429 magick in the API) in order to force using these formats. This 430 avoids accidents in case the file extension was used for some 431 other purpose.</li> 432 </ul> 433 </blockquote> 434 <p>2015-05-25 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 435 <blockquote> 436 <ul class="simple"> 437 <li>coders/gray.c: Added support for "GRAYA" format. Format 438 specifiers "R", "G", "B", "A", "C", "M", and "Y" may now be used 439 to save and restore the associated channel using the same raw 440 format as "GRAY". These format specifiers were already supported 441 but did not appear to serve any useful function.</li> 442 </ul> 443 </blockquote> 444 <p>2015-05-24 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 445 <blockquote> 446 <ul class="simple"> 447 <li>configure.ac: Improve handling of libxml2 dependencies. Only 448 test for and use libwmflite. Full-up libwmf is no longer used.</li> 449 <li>configure.ac: Deduplicate CFLAGS and LDFLAGS.</li> 450 </ul> 451 </blockquote> 452 <p>2015-05-23 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 453 <blockquote> 454 <ul class="simple"> 455 <li>coders/png.c (WriteOnePNGImage): Eliminate a "clobber" 456 compilation warning.</li> 457 <li>coders/jpeg.c (WriteJPEGImage): Eliminate a "clobber" 458 compilation warning.</li> 459 <li>configure.ac: Don't compute libwmf2 and libxml2 linkage path 460 based on claimed installation prefix. This is hoped to improve 461 configure reliability on multi-arch type systems.</li> 462 </ul> 463 </blockquote> 464 <p>2015-05-17 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 465 <blockquote> 466 <ul class="simple"> 467 <li>configure.ac: Use the first -I, -L, and -l arguments produced by 468 freetype-config and don't produce arguments based on installation 469 prefix. This is hoped to improve configure reliability on 470 multi-arch type systems.</li> 471 </ul> 472 </blockquote> 473 <p>2015-05-16 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 474 <blockquote> 475 <ul class="simple"> 476 <li>magick/tempfile.c (AcquireTemporaryFileDescriptor): P_tmpdir is 477 not an environment variable. Need to consider Windows environment 478 variables for Cygwin.</li> 479 <li>magick/random.c (InitializeMagickRandomKernel): For Microsoft 480 Windows, use CryptGenRandom() to salt the built-in random number 481 generator.</li> 482 </ul> 483 </blockquote> 484 <p>2015-05-13 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 485 <blockquote> 486 <ul class="simple"> 487 <li>magick/utility.c (MagickRandReentrant): Quiet Coverity 10092 488 "Calling risky function". 489 (MagickRandNewSeed): Quiet Coverity 10093 "Calling risky 490 function".</li> 491 <li>coders/tga.c (ReadTGAImage): Quiet Coverity 10201 "Identical 492 code for different branches".</li> 493 <li>coders/pcx.c (ReadPCXImage): Quiet Coverity 10218 "Identical 494 code for different branches".</li> 495 </ul> 496 </blockquote> 497 <p>2015-05-10 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 498 <blockquote> 499 <ul class="simple"> 500 <li>magick/utility.c (GetGeometry): Fix handling of area geometries 501 in the form "5000000@". Resolves SourceForge issue #299 "-resize 502 with @ and > in geometry specification".</li> 503 </ul> 504 </blockquote> 505 <p>2015-05-09 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 506 <blockquote> 507 <ul class="simple"> 508 <li>coders/tiff.c (WriteTIFFImage): Disable matte channel for 509 compression types which don't support it. Resolves SourceForge 510 bug #297 "GM distorts image using -transform". 511 (WriteTIFFImage): When type is Optimize, disable matte channel if 512 image is opaque.</li> 513 </ul> 514 </blockquote> 515 <p>2015-05-09 Jaroslav Fojtik <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 516 <blockquote> 517 <ul class="simple"> 518 <li>webp/src/utils/endian_inl.h: Fixed defect in intrinsic function 519 byteswap_ulong for Visual Studio less than 2005.</li> 520 </ul> 521 </blockquote> 522 <p>2015-05-08 Jaroslav Fojtik <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 523 <blockquote> 524 <ul class="simple"> 525 <li>VisualMagick/configure/system_page.cpp, 526 VisualMagick/configure/system_page.h: Suppress reloading .vcproj 527 when configuration type does not change.</li> 528 </ul> 529 </blockquote> 530 <p>2015-05-08 Jaroslav Fojtik <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 531 <blockquote> 532 <ul class="simple"> 533 <li>VisualMagick/configure/system_page.cpp, 534 VisualMagick/configure/system_page.h, 535 VisualMagick/configure/target_page.h: Ability to re-use already 536 given paths. It is highly frustrating to enter path for different 537 configurations again and again.</li> 538 </ul> 539 </blockquote> 540 <p>2015-05-07 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 541 <blockquote> 542 <ul class="simple"> 543 <li>coders/vid.c (ReadVIDImage): Fix use of uninitialized variable 544 reported by MSVC 2003 (but not GCC, Clang, or Coverity).</li> 545 </ul> 546 </blockquote> 547 <p>2015-05-05 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 548 <blockquote> 549 <ul class="simple"> 550 <li>coders/miff.c (ReadMIFFImage): Fix possible leak of profiles in 551 error path.</li> 552 <li>coders/mpc.c (ReadMPCImage): Fix memory leak of values 553 allocation. 554 (ReadMPCImage): Fix possible leak of profiles in error path. Fixes 555 Coverity 80697 "Resource leak".</li> 556 </ul> 557 </blockquote> 558 <p>2015-05-04 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 559 <blockquote> 560 <ul class="simple"> 561 <li>coders/miff.c (ReadMIFFImage): Fix memory leak of values 562 allocation.</li> 563 </ul> 564 </blockquote> 565 <p>2015-05-03 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 566 <blockquote> 567 <ul class="simple"> 568 <li>coders/dpx.c (ReadDPXImage): Hopefully quiet Coverity 10305 569 "Untrusted loop bound".</li> 570 <li>coders/tga.c (ReadTGAImage): Hopefully quiet Coverity 53418 571 "Untrusted loop bound".</li> 572 <li>magick/tempfile.c (AcquireTemporaryFileDescriptor): Eliminate 573 all use of operating system provided temporary file allocation 574 functions (all apparently flawed in one way or another) and rely 575 exclusively on our own implementation.</li> 576 <li>magick/constitute.c (ConstituteImage): Quiet Coverity 53399 577 "Logically dead code".</li> 578 <li>coders/webp.c (ReadWEBPImage): Quiet Coverity 53400 "Logically dead 579 code".</li> 580 <li>coders/miff.c (WriteRunlengthPacket): More work to quiet 581 Coverity 10186 and 10214 "Missing break in switch".</li> 582 </ul> 583 </blockquote> 584 <p>2015-05-02 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 585 <blockquote> 586 <ul class="simple"> 587 <li>magick/tempfile.c (AcquireTemporaryFileDescriptor): Thoroughly 588 vet temporary file path. Might quiet Coverity 64613 "Use of 589 untrusted string value".</li> 590 <li>wand/magick_compat.c (ParseGeometry): Another try at quieting 591 Coverity 10248 "Copy into fixed size buffer" and 10078 592 "Overlapping buffer in memory copy" in this dead code.</li> 593 <li>magick/tempfile.c (AcquireTemporaryFileDescriptor): Remove 594 unneeded, almost certainly never used, and potentially insecure 595 use of mkstemp(). Will quiet Coverity 10315 "Insecure temporary 596 file".</li> 597 </ul> 598 </blockquote> 599 <p>2015-04-30 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 600 <blockquote> 601 <ul class="simple"> 602 <li>configure.ac: Keep Ghostscript gibberish from appearing in 603 Configure output.</li> 604 <li>coders/miff.c (WriteRunlengthPacket): Quiet Coverity 10186 and 605 10214 "Missing break in switch".</li> 606 <li>magick/pixel_cache.c (GetCacheInfo): Quiet Coverity 10208 "Data 607 race condition".</li> 608 <li>magick/blob.c (CloneBlobInfo): Quiet Coverity 10188 "Data race 609 condition". 610 (GetBlobInfo): Quiet Coverity 10191 "Data race condition".</li> 611 <li>magick/image.c (AllocateImage): Quiet Coverity 10196 "Data race 612 condition". 613 (CloneImage): Quiet Coverity 10206 "Data race condition".</li> 614 <li>magick/map.c (MagickMapAllocateMap): Quiet Coverity 10192, 10193 615 and 10228 "Data race condition".</li> 616 <li>configure.ac: Use an algorithm to try to discover the best value 617 for GSCMYKDevice.</li> 618 <li>VisualMagick/bin/delegates.mgk: Recipe for 'gs-cmyk' contained a 619 typo which breaks using '-type ColorSeparation'.</li> 620 <li>coders/pwp.c (ReadPWPImage): Fix Coverity CID 64491 "Integer 621 handling issues".</li> 622 </ul> 623 </blockquote> 624 <p>2015-04-29 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 625 <blockquote> 626 <ul class="simple"> 627 <li>coders/xcf.c (load_tile_rle): Quiet Coverity 10259 "Untrusted 628 loop bound".</li> 629 <li>coders/sct.c (ReadSCTImage): Quiet Coverity 10285 "Untrusted 630 loop bound".</li> 631 <li>coders/pwp.c (ReadPWPImage): Quiet Coverity 10299 "Untrusted 632 loop bound".</li> 633 <li>coders/pcd.c (ReadPCDImage): Quiet Coverity 10301 "Untrusted 634 loop bound".</li> 635 <li>coders/tga.c (ReadTGAImage): Quiet Coverity 53418 "Untrusted 636 loop bound".</li> 637 <li>wand/magick_compat.c (ParseGeometry): Fix overlap strcpy() in 638 dead code. Quiets Coverity 10078 "Overlapping buffer in memory 639 copy" and 10248 "Copy into fixed size buffer".</li> 640 <li>magick/segment.c (Classify): Fix Coverity 64317 "Resource leak".</li> 641 </ul> 642 </blockquote> 643 <p>2015-04-28 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 644 <blockquote> 645 <ul class="simple"> 646 <li>coders/xcf.c (ReadXCFImage): Fix Coverity 64064 "Resource leak".</li> 647 <li>coders/txt.c (ReadTXTImage): Fix Coverity 64061 "Resource leak".</li> 648 <li>coders/rla.c (ReadRLAImage): Fix Coverity 64063 "Resource leak".</li> 649 <li>coders/dib.c (ReadDIBImage): Fix Coverity 64057 Resource leak".</li> 650 <li>magick/segment.c (Classify): Fix Coverity 64056 "Resource leak".</li> 651 <li>magick/resize.c (SampleImage): Fix Coverity 64053, 64054, and 652 64062 "Resource leak".</li> 653 <li>magick/render.c (TraceStrokePolygon): Fix Coverity 64055, 64059, 654 and 64060 "Resource leak".</li> 655 <li>magick/magick.c (ListModuleMap): Quiet Coverity 64058 "Resource 656 leak".</li> 657 </ul> 658 </blockquote> 659 <p>2015-04-28 Glenn Randers-Pehrson <<a class="reference external" href="mailto:glennrp%40simple.dallas.tx.us">glennrp<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 660 <blockquote> 661 <ul class="simple"> 662 <li>coders/dpx.c: Fix Coverity 10305 "Untrusted loop bound".</li> 663 <li>coders/cineon.c: Fix Coverity 10310 "Untrusted loop bound".</li> 664 </ul> 665 </blockquote> 666 <p>2015-04-27 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 667 <blockquote> 668 <ul class="simple"> 669 <li>magick/memory.c: All use of user-provided allocation functions 670 is done via MagickFree(), MagickMalloc(), and MagickRealloc().</li> 671 </ul> 672 </blockquote> 673 <p>2015-04-26 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 674 <blockquote> 675 <ul class="simple"> 676 <li>magick/colormap.c (MagickConstrainColormapIndex): For out of 677 range condition, specifically return 0 rather than setting index 678 to zero, and then returning index.</li> 679 <li>coders/pcx.c (ReadPCXImage): Fix Coverity 10197 "Negative loop 680 bound".</li> 681 <li>coders/map.c (ReadMAPImage): Allocate pixels after return case 682 for 'ping' mode. 683 (ReadMAPImage): Fix problem added in last commit due to multiple 684 uses of 'packet_size'.</li> 685 <li>magick/floats.c (_Gm_convert_fp16_to_fp32) 686 (_Gm_convert_fp24_to_fp32): Fix Coverity 10094 "Logically dead 687 code".</li> 688 <li>coders/pcx.c (ReadPCXImage): Fix Coverity 10197 "Negative loop 689 bound".</li> 690 <li>coders/wpg.c (UnpackWPG2Raster): Always test for EOF from 691 ReadBlobByte(). Should fix Coverity 10205 "Negative loop bound".</li> 692 </ul> 693 </blockquote> 694 <p>2015-04-25 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 695 <blockquote> 696 <ul class="simple"> 697 <li>coders/pcx.c (ReadPCXImage): Add some more integer-overflow 698 safety to computations. Add some casts.</li> 699 <li>coders/meta.c (formatIPTC): Fix Coverity 10221 "Infinite loop".</li> 700 <li>magick/attribute.c (GenerateEXIFAttribute): Fix Coverity 10320 701 "Untrusted array index read" and "Untrusted loop bound".</li> 702 </ul> 703 </blockquote> 704 <p>2015-04-24 Glenn Randers-Pehrson <<a class="reference external" href="mailto:glennrp%40simple.dallas.tx.us">glennrp<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 705 <blockquote> 706 <ul class="simple"> 707 <li>coders/gif.c (ReadGIFImage): Attempt to fix Coverity issue 708 10284 by using "opacity = (header[3] & 0xff)".</li> 709 </ul> 710 </blockquote> 711 <p>2015-04-23 Glenn Randers-Pehrson <<a class="reference external" href="mailto:glennrp%40simple.dallas.tx.us">glennrp<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 712 <blockquote> 713 <ul class="simple"> 714 <li>magick/blob.c (ReadBlobMSBLong, ReadBlobLSBLong): Attempt 715 to fix various "tainted" or "untrusted" variables 716 by masking off all but the lower 32 bits returned.</li> 717 </ul> 718 </blockquote> 719 <p>2015-04-23 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 720 <blockquote> 721 <ul class="simple"> 722 <li>coders/xcf.c (ReadXCFImage): Fix Coverity 10216 "Integer 723 overflowed argument".</li> 724 <li>magick/transform.c (FlipImage): Fix Coverity 61461 "Division or 725 modulo by zero".</li> 726 <li>coders/gif.c: Protect against integer overflow in array size 727 calculations. Used unsigned type for colormap index.</li> 728 </ul> 729 </blockquote> 730 <p>2015-04-22 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 731 <blockquote> 732 <ul class="simple"> 733 <li>coders/map.c (ReadMAPImage): Maybe quiet Coverity 10326 734 "Untrusted pointer read".</li> 735 <li>magick/utility.c (GlobExpression): See if testing for null 736 terminating character quiets Coverity 10246 "Untrusted value as 737 argument".</li> 738 <li>magick/transform.c (FlipImage): Possibly quiet case #4 of 739 Coverity 10311 "Untrusted value as argument".</li> 740 <li>magick/utility.c (Base64Encode): Quiet Coverity 10296 and 10272 741 "Use of untrusted scalar value".</li> 742 </ul> 743 </blockquote> 744 <p>2015-04-22 Glenn Randers-Pehrson <<a class="reference external" href="mailto:glennrp%40simple.dallas.tx.us">glennrp<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 745 <blockquote> 746 <ul class="simple"> 747 <li>magick/blob.c (ReadBlobMSBShort, ReadBlobLSBShort): Attempt 748 to fix various "tainted" or "untrusted" variables, e.g., in 749 coders/gif.c and coders/sgi.c by masking off all but the lower 750 16 bits returned.</li> 751 </ul> 752 </blockquote> 753 <p>2015-04-21 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 754 <blockquote> 755 <ul class="simple"> 756 <li>coders/tim.c (ReadTIMImage): Make TIM reader more robust against 757 EOF.</li> 758 <li>coders/sct.c (ReadSCTImage): Make SCT reader more robust against 759 EOF.</li> 760 <li>coders/pwp.c (ReadPWPImage): Test loop for EOF.</li> 761 <li>coders/otb.c (ReadOTBImage): Make error reporting a bit more 762 robust.</li> 763 <li>coders/jnx.c (ExtractTileJPG): Add some EOF checks.</li> 764 <li>coders/cut.c (ReadCUTImage): Limit width/height to range of 765 signed integer.</li> 766 <li>tests/rwfile.tap: Add a R/W file test for ART.</li> 767 <li>tests/rwblob.tap: Add a R/W blob test for ART.</li> 768 <li>coders/art.c (ReadARTImage): Improve error checking.</li> 769 </ul> 770 </blockquote> 771 <p>2015-04-20 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 772 <blockquote> 773 <ul class="simple"> 774 <li>coders/sun.c (ReadSUNImage): Try to quench Coverity 10280 775 "Untrusted loop bound".</li> 776 <li>coders/mpc.c (ReadMPCImage): Port MIFF header reading fixes.</li> 777 </ul> 778 </blockquote> 779 <p>2015-04-19 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 780 <blockquote> 781 <ul class="simple"> 782 <li>coders/miff.c (ReadMIFFImage): MIFF reader failed to read some 783 MIFF headers properly. Fixes SourceForge issue #298 "invalid next 784 size (normal)/memory corruption".</li> 785 </ul> 786 </blockquote> 787 <p>2015-04-18 Glenn Randers-Pehrson <<a class="reference external" href="mailto:glennrp%40simple.dallas.tx.us">glennrp<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 788 <blockquote> 789 <ul class="simple"> 790 <li>coders/png.c (ReadMNGImage): Fix Coverity 55862 "Resource leak" 791 and quiet Coverity 55825, 55826, and 55827 "Data race condition".</li> 792 </ul> 793 </blockquote> 794 <p>2015-04-18 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 795 <blockquote> 796 <ul class="simple"> 797 <li>magick/utility.c (GetToken): Fix an overlapping strlcpy() which 798 caused a crash in pedantic strlcpy() implementations while parsing 799 a SVG-style URL from text. Several other issues remain.</li> 800 </ul> 801 </blockquote> 802 <p>2015-04-16 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 803 <blockquote> 804 <ul class="simple"> 805 <li>magick/command.c (ParseUnixCommandLine): Fix Coverity 59256 806 "Unused value".</li> 807 </ul> 808 </blockquote> 809 <p>2015-04-15 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 810 <blockquote> 811 <ul class="simple"> 812 <li>magick/display.c (MagickXROIImage): Fix Coverity 10179 "Missing 813 break in switch". 814 (MagickXCropImage): Fix Coverity 10211 "Missing break in switch".</li> 815 <li>magick/utility.c (Base64Decode): Fix Coverity 10203 "Missing 816 break in switch". 817 (Tokenizer): Quench Coverity 10182 "Missing break in switch". Not 818 believed to be an actual problem.</li> 819 <li>magick/command.c (ParseUnixCommandLine): Fix Coverity 10174 and 820 10178 "Missing break in switch". 821 (ProcessBatchOptions): Fix Coverity 10180 "Missing break in 822 switch". 823 (ParseWindowsCommandLine): Fix Coverity 10220 "Missing break in 824 switch".</li> 825 <li>coders/xwd.c (ReadXWDImage): Fix Coverity 10095 "Division or 826 modulo by zero". 3rd try.</li> 827 </ul> 828 </blockquote> 829 <p>2015-04-14 Glenn Randers-Pehrson <<a class="reference external" href="mailto:glennrp%40simple.dallas.tx.us">glennrp<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 830 <blockquote> 831 <ul class="simple"> 832 <li>coders/png.c (ReadOneJNGImage): Fix Coverity 55829 and 55846 833 "Resource leak".</li> 834 </ul> 835 </blockquote> 836 <p>2015-04-13 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 837 <blockquote> 838 <ul class="simple"> 839 <li>magick/quantize.c (GrayscalePseudoClassImage): Fix Coverity 840 55831 "Resource leak". 2nd try.</li> 841 <li>coders/vid.c (ReadVIDImage): Fix Coverity 55868 and 55874 842 "Resource leak". 2nd try.</li> 843 </ul> 844 </blockquote> 845 <p>2015-04-12 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 846 <blockquote> 847 <ul class="simple"> 848 <li>coders/psd.c (ReadPSDImage): Fix Coverity 55855 "Resource 849 leak". 2nd try.</li> 850 <li>coders/pict.c (PictPixmapOp): Fix Coverity 55875 and 55883 851 "Resource leak". 2nd try.</li> 852 <li>coders/pcx.c (WritePCXImage): Fix Coverity 55877 "Resource 853 leak". 2nd try.</li> 854 <li>coders/meta.c (format8BIM): Fix Coverity 55842 "Resource 855 leak". 2nd try.</li> 856 <li>coders/mat.c (WriteMATLABImage): Fix Coverity 55850 "Resource 857 leak". 2nd try.</li> 858 <li>coders/dpx.c (ReadDPXImage): Fix Coverity 55878 "Resource leak". 859 2nd try.</li> 860 <li>coders/preview.c (WritePreviewImage): Fix Coverity 55988 861 "Resource leak".</li> 862 </ul> 863 </blockquote> 864 <p>2015-04-12 Glenn Randers-Pehrson <<a class="reference external" href="mailto:glennrp%40simple.dallas.tx.us">glennrp<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 865 <blockquote> 866 <ul class="simple"> 867 <li>coders/png.c (ReadOneJNGImage): Avoid some memory leaks 868 newly reported by Coverity (work in progress)</li> 869 </ul> 870 </blockquote> 871 <p>2015-04-12 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 872 <blockquote> 873 <ul class="simple"> 874 <li>magick/resize.c (ScaleImage): Fix Coverity 55824 "Division or 875 modulo by float zero".</li> 876 <li>magick/annotate.c (AnnotateImage): Fix Coverity 55863 877 "Uninitialized scalar variable".</li> 878 <li>wand/magick_wand.c (MagickDrawImage): Fix Coverity 55828 879 "Resource leak". 880 (MagickMontageImage): Fix Coverity 55835 "Resource leak".</li> 881 <li>wand/drawing_wand.c (DrawComposite): Fix Coverity 55849 882 "Resource leak".</li> 883 <li>magick/widget.c (MagickXColorBrowserWidget): Fix Coverity 55854 884 "Resource leak".</li> 885 <li>magick/resize.c (ScaleImage): Fix Coverity 55841, 55853, 55858, 886 and 55860 "Resource leak".</li> 887 <li>magick/render.c (ConvertPathToPolygon): Fix Coverity 55836 888 "Resource leak". 889 (DrawDashPolygon): Fix Coverity 55837 "Resource leak".</li> 890 <li>magick/quantize.c (GrayscalePseudoClassImage): Fix Coverity 891 55831 "Resource leak".</li> 892 <li>magick/paint.c (ColorFloodfillImage): Fix Coverity 55886 893 "Resource leak".</li> 894 <li>magick/map.c (MagickMapAddEntry): Possibly silence 55844 895 "Resource leak".</li> 896 <li>magick/image.c (CloneImage): Fix Coverity 55833 "Resource leak".</li> 897 <li>magick/effect.c (BlurImage): Fix Coverity 55851 "Resource leak".</li> 898 <li>magick/display.c (MagickXAnnotateEditImage): Fix Coverity 55830 899 "Resource leak". 900 (MagickXVisualDirectoryImage): Fix Coverity 55894 "Resource leak".</li> 901 <li>magick/constitute.c (ReadImages): Fix Coverity 55834 "Resource 902 leak". 903 (ReadInlineImage): Fix Coverity 55843 "Resource leak".</li> 904 <li>magick/compress.c (HuffmanEncode2Image): Fix Coverity 55839 905 "Resource leak". 906 (HuffmanDecodeImage): Fix Coverity 55859 "Resource leak".</li> 907 <li>magick/color.c (GetColorHistogram): Fix Coverity 55845 "Resource 908 leak". 909 (ComputeCubeInfo): Fix Coverity 55857 "Resource leak".</li> 910 <li>coders/yuv.c (ReadYUVImage): Fix Coverity 55890 "Resource leak".</li> 911 <li>coders/wpg.c (UnpackWPG2Raster): Fix Coverity 55832 and 55848 912 "Resource leak".</li> 913 </ul> 914 </blockquote> 915 <p>2015-04-11 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 916 <blockquote> 917 <ul class="simple"> 918 <li>coders/vid.c (ReadVIDImage): Fix Coverity 55868 "Resource leak" 919 (ReadVIDImage): Fix Coverity 55874 "Resource leak".</li> 920 <li>coders/txt.c (ReadTXTImage): Fix Coverity 55866 "Resource leak".</li> 921 <li>coders/topol.c (ReadTOPOLImage): Fix Coverity 55865 "Resource 922 leak".</li> 923 <li>coders/sgi.c (WriteSGIImage): Fix Coverity 55891 "Resource leak".</li> 924 <li>coders/psd.c (ReadPSDImage): Fix Coverity 55855 "Resource leak".</li> 925 <li>coders/pict.c (WritePICTImage): Fix Coverity 55867, 55875, 55883 926 "Resource leak". Fix Coverity 55892 "Resource leak".</li> 927 <li>coders/pdb.c (ReadPDBImage): Fix Coverity 55840, 55856, and 928 55885 "Resource leak".</li> 929 <li>coders/pcx.c (WritePCXImage): Fix Coverity 55877 "Resource 930 leak".</li> 931 <li>coders/mvg.c (ReadMVGImage): Fix Coverity 55873 "Resource leak".</li> 932 <li>coders/mpeg.c (WriteMPEGImage): Fix Coverity 55880 "Resource 933 leak".</li> 934 <li>coders/miff.c (WriteMIFFImage): Fix Coverity 55864 "Resource 935 leak". 936 (WriteMIFFImage): Fix Coverity 55872 "Resource leak".</li> 937 <li>coders/meta.c (formatIPTCfromBuffer): Fix Coverity 55838 938 "Resource leak". 939 (format8BIM): Fix Coverity 55842 and 55852 "Resource leak". 940 (formatIPTC): Fix Coverity 5882 "Resource leak".</li> 941 <li>coders/mat.c (ReadMATImage): Fix Coverity 55850 "Resource leak".</li> 942 <li>coders/map.c (ReadMAPImage): Fix Coverity 55876 "Resource leak".</li> 943 <li>coders/logo.c (ReadLOGOImage): Fix Coverity 55870 "Resource 944 leak".</li> 945 <li>coders/label.c (ReadLABELImage): Fix Coverity 55869 "Resource 946 leak".</li> 947 <li>coders/icon.c (ReadIconImage): Fix Coverity 55887 "Resource 948 leak".</li> 949 <li>coders/fits.c (WriteFITSImage): Fix Coverity 55884 "Resource 950 leak".</li> 951 <li>coders/dpx.c (WriteDPXImage): Fix Coverity 55861 "Resource 952 leak". 953 (ReadDPXImage): Fix Coverity 55878 "Resource leak". 954 (ReadDPXImage): Fix Coverity 55879 "Resource leak".</li> 955 <li>coders/dib.c (WriteDIBImage): Fix Coverity 55881 "Resource 956 leak". 957 (WriteDIBImage): Fix Coverity 55895 "Resource leak".</li> 958 <li>coders/cut.c (ReadCUTImage): Fix Coverity 55893 "Resource leak".</li> 959 <li>coders/caption.c (ReadCAPTIONImage): Fix Coverity 55888 960 "Resource leak". 961 (ReadCAPTIONImage): Fix Coverity 55889 "Resource leak". 962 (ReadCAPTIONImage): Fix Coverity 55896 "Resource leak".</li> 963 <li>magick/annotate.c (RenderX11): Silence Coverity 10106 "Logically 964 dead code".</li> 965 <li>coders/xcf.c: Silence Coverity 10224, 10233, and 10236 "Improper 966 use of negative value".</li> 967 <li>coders/mat.c (ReadMATImage): Silence Coverity 10175 "Improper 968 use of negative value"</li> 969 <li>coders/tga.c (ReadTGAImage): Silence Coverity 10088 "Operands 970 don't affect result".</li> 971 <li>magick/annotate.c (RenderFreetype): Silence Coverity 14396 and 972 44755 "Unused value".</li> 973 <li>coders/wpg.c (LoadWPG2Flags): Silence Coverity 10273 and 10253 974 "Unused value".</li> 975 <li>magick/montage.c (MontageImages): Silence Coverity 10255 "Unused 976 value". 977 (MontageImages): Silence Coverity 10264 "Unused value".</li> 978 </ul> 979 </blockquote> 980 <p>2015-04-09 Glenn Randers-Pehrson <<a class="reference external" href="mailto:glennrp%40simple.dallas.tx.us">glennrp<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 981 <blockquote> 982 <ul class="simple"> 983 <li>coders/png.c (ReadOneJNGImage): Avoid using a NULL alpha_image 984 or color_image. (ReadJNGImage): Removed an extraneous CloseBlob().</li> 985 </ul> 986 </blockquote> 987 <p>2015-04-08 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 988 <blockquote> 989 <ul class="simple"> 990 <li>magick/utility.c (MagickCreateDirectoryPath): Silence Coverity 991 10098 "Logically dead code".</li> 992 <li>magick/resource.c (InitializeMagickResources): Silence Coverity 993 10101 "Logically dead code".</li> 994 <li>magick/magick.c (MagickSignalHandlerMessage): Fix Coverity 44725 995 "Logically dead code".</li> 996 <li>magick/log.c (DestroyLogInfo): Silence Coverity 53659 and 53661 997 "Data race condition". 998 (ReadLogConfigureFile): Silence Coverity 53660 "Data race 999 condition".</li> 1000 <li>magick/effect.c (DespeckleImage): Fix error handling issue 1001 caused by shadowed variable. Fixes Coverity 10099 "Logically dead 1002 code".</li> 1003 <li>magick/command.c (TimeImageCommand): Fix Coverity 10097 1004 "Logically dead code".</li> 1005 <li>magick/attribute.c (ReadMSBLong): Hopefully silence Coverity 1006 10276 "Unintended sign extension".</li> 1007 <li>coders/sgi.c (ReadSGIImage, WriteSGIImage): Fix Coverity 10243, 1008 10244, 10247, 10254, and 10294 "Unintended sign extension".</li> 1009 </ul> 1010 </blockquote> 1011 <p>2015-04-07 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1012 <blockquote> 1013 <ul class="simple"> 1014 <li>magick/xwindow.c (MagickXMakeImage): Quiet Coverity 10282 1015 "Unused value".</li> 1016 </ul> 1017 </blockquote> 1018 <p>2015-04-06 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1019 <blockquote> 1020 <ul class="simple"> 1021 <li>coders/tiff.c (WriteTIFFImage): Another change targeting 1022 Coverity 44742 and 44746 "Unintended sign extension".</li> 1023 </ul> 1024 </blockquote> 1025 <p>2015-04-05 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1026 <blockquote> 1027 <ul class="simple"> 1028 <li>magick/render.c (TracePath): Fix Coverity 10258 "Uninitialized 1029 scalar variable".</li> 1030 <li>magick/widget.c (MagickXFontBrowserWidget): Fix Coverity 10323 1031 "Sizeof not portable". 2nd try.</li> 1032 <li>coders/xwd.c (ReadXWDImage): Fix Coverity 10095, 10100, 10104 1033 "Division or modulo by zero". 2nd try.</li> 1034 <li>magick/analyze.c (GetImageCharacteristics): Fix Coverity 10096 1035 "Logically dead code".</li> 1036 <li>coders/yuv.c (ReadYUVImage): Fix Coverity 10260 "Structurally 1037 dead code".</li> 1038 <li>coders/xcf.c (ReadXCFImage): Fix Coverity 10226 "Missing break 1039 in switch".</li> 1040 <li>coders/tim.c (ReadTIMImage): Fix Coverity 10249 "Unused value".</li> 1041 <li>coders/tiff.c (CompressionSupported): Fix Coverity 44723 1042 "Logically dead code". 1043 (WriteTIFFImage): Fix Coverity 44742 and 44746 "Unintended sign 1044 extension".</li> 1045 <li>coders/ps3.c (WritePS3Image): Validate results from TellBlob() 1046 and SeekBlob(). Should quiet Coverity 10198 "Improper use of 1047 negative value".</li> 1048 <li>coders/ps2.c (WritePS2Image): Validate results from TellBlob() 1049 and SeekBlob(). Should quiet Coverity 10230 "Improper use of 1050 negative value".</li> 1051 <li>coders/mpeg.c (WriteMPEGImage): Quiet Coverity 10176 "Missing 1052 break in switch".</li> 1053 <li>coders/map.c (WriteMAPImage): Make MAP reader/writer more 1054 robust. May quiet 10326 "Untrusted pointer read".</li> 1055 <li>coders/locale.c (ReadLOCALEImage): Quiet Coverity 10108 1056 "Logically dead code".</li> 1057 <li>coders/rle.c: Make URT RLE reader more robust. Should quiet 1058 Coverity CID 10070 "Bad bit shift operation", as well as 10235 1059 "Improper use of negative value".</li> 1060 </ul> 1061 </blockquote> 1062 <p>2015-04-04 Glenn Randers-Pehrson <<a class="reference external" href="mailto:glennrp%40simple.dallas.tx.us">glennrp<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1063 <blockquote> 1064 <ul class="simple"> 1065 <li>coders/png.c (WriteOneJNGImage): Quiet Coverity CID issue 14370, 1066 "Unused value" (status was ignored).</li> 1067 <li>coders/png.c (ReadOneJNGImage): Quiet Coverity CID issue 44724, 1068 "Logically dead code" (skip_to_iend can't be true).</li> 1069 <li>coders/png.c (ReadOnePNGImage): Attempt to quiet Coverity 1070 CID 10232 "Missing unlock", by using png_error() instead of 1071 throwing an exception.</li> 1072 </ul> 1073 </blockquote> 1074 <p>2015-04-04 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1075 <blockquote> 1076 <ul class="simple"> 1077 <li>coders/xwd.c (ReadXWDImage): Fix Coverity 10104 "Division or 1078 modulo by zero".</li> 1079 <li>magick/resize.c (ResizeImage): Fix Coverity 53404 "Division or 1080 modulo by zero".</li> 1081 <li>coders/ps3.c (WritePS3MaskImage): Fix Coverity 53415 "Improper 1082 use of negative value".</li> 1083 <li>coders/meta.c (parse8BIM): Fix Coverity 53413 "Improper use of 1084 negative value". 1085 (parse8BIMW): Fix Coverity 53414 "Improper use of negative value".</li> 1086 <li>magick/utility.c (GetMagickGeometry): Fix Coverity 53403 and 1087 53405 "Division or modulo by float zero". 1088 (GetPathComponent): Fix Coverity 53417 "Wrong sizeof argument.</li> 1089 <li>magick/quantize.c (GrayscalePseudoClassImage): Fix Coverity 1090 10256 "Wrong sizeof argument".</li> 1091 <li>magick/image.c (ResetImagePage): Fix Coverity 53401 "Division or 1092 modulo by float zero" and 53402 "Division or modulo by float 1093 zero".</li> 1094 <li>coders/histogram.c (WriteHISTOGRAMImage): Silence Coverity 10107 1095 "Division or modulo by float zero". 2nd try.</li> 1096 <li>magick/xwindow.c (MagickXImportImage): Silence Coverity 10207 1097 "Array compared against 0".</li> 1098 <li>magick/widget.c (MagickXColorBrowserWidget): Silence Coverity 1099 53406 "Identical code for different branches". 1100 (MagickXListBrowserWidget): Silence Coverity 53407 "Identical code 1101 for different branches".</li> 1102 <li>magick/animate.c (MagickXMagickCommand): Silence Coverity 53410 1103 "Identical code for different branches".</li> 1104 <li>coders/rgb.c (WriteRGBImage): Silence Coverity 53409 "Identical 1105 code for different branches".</li> 1106 <li>coders/cmyk.c (WriteCMYKImage): Silence Coverity 53408 1107 "Identical code for different branches".</li> 1108 <li>magick/xwindow.c (MagickXMakeImage): Silence Coverity 44727 1109 "Dereference after null check". 2nd try.</li> 1110 <li>magick/utility.c (EscapeString): Silence Coverity 53416 1111 "Dereference before null check".</li> 1112 <li>coders/gif.c (WriteGIFImage): Fix Coverity 10219 "Dereference 1113 null return value".</li> 1114 <li>magick/log.c (InitializeLogInfo): Hopefully silence Coverity 1115 53411 and 53412 "Data race condition".</li> 1116 <li>coders/cineon.c (AttributeToString): Silence Coverity 10079 1117 "Buffer not null terminated". 2nd try. The buffer is not 1118 required to be null terminated!</li> 1119 <li>coders/pict.c (ReadPICTImage): 10171 "Resource leak". 2nd try.</li> 1120 <li>coders/wmf.c (util_set_brush): Silence Coverity 44739 1121 "Out-of-bounds access". 2nd try.</li> 1122 </ul> 1123 </blockquote> 1124 <p>2015-03-29 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1125 <blockquote> 1126 <ul class="simple"> 1127 <li>magick/log.c (SetLogEventMask): Silence Coverity 10069 "Value 1128 not atomically updated". Logging initialization is done 1129 single-threaded entirely in InitializeLogInfo() now.</li> 1130 </ul> 1131 </blockquote> 1132 <p>2015-03-28 Glenn Randers-Pehrson <<a class="reference external" href="mailto:glennrp%40simple.dallas.tx.us">glennrp<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1133 <blockquote> 1134 <ul class="simple"> 1135 <li>coders/png.c (ReadOnePNGImage): Attempt to quiet Coverity 1136 44734 "Data race condition" by freeing mng_info->png_pixels 1137 and mng_info->quantum_scanline separately from MngInfoFreeStruct.</li> 1138 </ul> 1139 </blockquote> 1140 <p>2015-03-28 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1141 <blockquote> 1142 <ul class="simple"> 1143 <li>magick/widget.c (XEditText): Silence Coverity 10072 "Overlapping 1144 buffer in memory copy"</li> 1145 <li>coders/locale.c (ReadConfigureFile): Silence Coverity 10075 1146 "Overlapping buffer in memory copy".</li> 1147 <li>magick/xwindow.c (MagickXMakeWindow): Silence Coverity 10076 1148 "Overlapping buffer in memory copy".</li> 1149 <li>coders/dcm.c (funcDCM_TransferSyntax): Silence Coverity 10083 1150 "Unchecked return value".</li> 1151 <li>magick/static.c (ExecuteStaticModuleProcess): Silence Coverity 1152 10082 "Unchecked return value".</li> 1153 <li>coders/cals.c (ReadCALSImage): Silence Coverity 10086 "Unchecked 1154 return value from library". 1155 (ReadCALSImage): Silence Coverity 10085 "Unchecked return value". 1156 (ReadCALSImage): Silence Coverity 10084 "Unchecked return value 1157 from library".</li> 1158 <li>magick/enhance.c (ModulateImage): Silence Coverity 10087 1159 "Unchecked return value".</li> 1160 </ul> 1161 </blockquote> 1162 <p>2014-03-24 Jaroslav Fojtik <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 1163 <blockquote> 1164 * coders/wpg.c More paranoa in checking ReadBlobByte() negative return.</blockquote> 1165 <p>2015-03-23 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1166 <blockquote> 1167 <ul class="simple"> 1168 <li>magick/attribute.c (Generate8BIMAttribute): Silence Coverity 1169 10195 "Argument cannot be negative".</li> 1170 <li>Magick++/lib/Image.cpp (syncPixels): Silence Coverity 44722 1171 "Unchecked return value". 1172 (fontTypeMetrics): Silence Coverity 44721 "Unchecked return 1173 value".</li> 1174 <li>magick/render.c (ConvertPathToPolygon): Silence Coverity 10120 1175 "Dereference after null check".</li> 1176 <li>magick/effect.c (EmbossImage): Silence Coverity 10114 1177 "Dereference after null check". 1178 (AdaptiveThresholdImage): Silence Coverity 10118 "Explicit null 1179 dereferenced".</li> 1180 <li>coders/msl.c (MSLPushImage): Silence Coverity 10128 "Dereference 1181 after null check".</li> 1182 <li>magick/render.c (DrawPolygonPrimitive): Silence Coverity 10136 1183 "Dereference after null check".</li> 1184 <li>wand/drawing_wand.c (DrawSetStrokeDashArray): Silence Coverity 1185 10117 "Dereference after null check".</li> 1186 <li>magick/draw.c (DrawSetStrokeDashArray): Silence Coverity 10150 1187 "Dereference after null check".</li> 1188 <li>wand/drawing_wand.c (DrawPushGraphicContext): Silence Coverity 1189 10151 "Dereference after null check".</li> 1190 </ul> 1191 </blockquote> 1192 <p>2015-03-22 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1193 <blockquote> 1194 <ul class="simple"> 1195 <li>coders/meta.c (parse8BIM): Silence Coverity 10159 "Explicit null 1196 dereferenced". 1197 (parse8BIMW): Silence Coverity 10144 "Explicit null dereferenced".</li> 1198 <li>coders/uil.c (WriteUILImage): Silence Coverity 10202 1199 "Dereference after null check". In fact, UIL output was not 1200 working at all due to this bug.</li> 1201 <li>magick/xwindow.c (MagickXMakeImage): Silence Coverity 44727 1202 "Dereference after null check".</li> 1203 <li>Magick++/lib/Image.cpp (colorMapSize): Silence Coverity 44728 1204 "Dereference after null check".</li> 1205 <li>coders/vid.c (ReadVIDImage): Silence Coverity 44730 "Explicit 1206 null dereferenced".</li> 1207 <li>coders/mpc.c (ReadMPCImage): Silence Coverity 44732 "Dereference 1208 after null check".</li> 1209 <li>Magick++/lib/Image.cpp (signature): Silence Coverity 44735 1210 "Dereference null return value".</li> 1211 <li>coders/ps.c (ReadPSImage): Ghostscript options concatenation 1212 should be more secure against buffer overflow.</li> 1213 <li>coders/pdf.c (ReadPDFImage): Applied patch by Chris Gilling such 1214 that '-define pdf:stop-on-error=true' will stop PDF processing 1215 immediately upon an error. 1216 (ReadPDFImage): Ghostscript options concatenation should be more 1217 secure against buffer overflow.</li> 1218 </ul> 1219 </blockquote> 1220 <p>2015-03-19 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1221 <blockquote> 1222 <ul class="simple"> 1223 <li>magick/animate.c (MagickXAnimateImages): Silence Coverity 44736 1224 "Dereference null return value". Also fixed apparent memory leak 1225 that Coverity did not notice.</li> 1226 <li>coders/fits.c (ReadFITSImage): Silence Coverity 10209 1227 "Dereference before null check".</li> 1228 <li>magick/color_lookup.c (ReadColorConfigureFile): Silence Coverity 1229 44743 "Dereference before null check".</li> 1230 <li>magick/xwindow.c (MagickXMakeImage): Silence Coverity 44745 1231 "Dereference before null check".</li> 1232 <li>coders/pict.c (ReadPICTImage): Hopefully address consequences of 1233 Coverity 10292 "Untrusted loop bound" although it will likely 1234 still complain.</li> 1235 <li>magick/utility.c (LocaleCompare, LocaleNCompare): Try to create 1236 an implementation that Coverity won't label an "tainted sink", and 1237 therefore result in a Coverity "Use of untrusted scalar value" 1238 report whenever a string from an external source is compared. The 1239 original implementations are not believed to be faulty.</li> 1240 </ul> 1241 </blockquote> 1242 <p>2015-03-17 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1243 <blockquote> 1244 <ul class="simple"> 1245 <li>magick/command.c (ProcessBatchOptions): Silence Coverity 10080 1246 "Buffer not null terminated".</li> 1247 <li>magick/widget.c (MagickXConfirmWidget): Silence Coverity 10089 1248 "Copy-paste error". This is an amazing find by Coverity.</li> 1249 <li>magick/xwindow.c (MagickXImportImage): Silence Coverity 10207 1250 "Array compared against 0".</li> 1251 <li>magick/quantize.c (GrayscalePseudoClassImage): Silence Coverity 1252 10256 "Wrong sizeof argument".</li> 1253 <li>coders/tiff.c (ReadTIFFImage): Fix Coverity 44747 and 44748 1254 "Extra sizeof expression".</li> 1255 </ul> 1256 </blockquote> 1257 <p>2015-03-16 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1258 <blockquote> 1259 <ul class="simple"> 1260 <li>Magick++/lib/Magick++/Include.h (Magick): Fix compilation with 1261 'clang' under Linux. Build was broken yesterday.</li> 1262 <li>coders/tiff.c (QuantumTransferMode): Fix reading Old JPEG and 1263 YCbCr sample images from libtiff pics-3.8.0.tar.gz image file 1264 collection. There was a regression for YCbCr added in last 1265 release.</li> 1266 </ul> 1267 </blockquote> 1268 <p>2015-03-15 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1269 <blockquote> 1270 <ul class="simple"> 1271 <li>coders/bmp.c (ReadBMPImage): Fix Coverity 44726 "Division or 1272 modulo by float zero". I don't think that this can actually 1273 happen due to prior checks.</li> 1274 <li>magick/xwindow.c (MagickXMakeWindow): Silence Coverity 10281 1275 "Copy into fixed size buffer".</li> 1276 <li>coders/pdf.c (ReadPDFImage): Silence Coverity 10241 "Copy into 1277 fixed size buffer".</li> 1278 <li>magick/type.c (ReadTypeConfigureFile): Silence Coverity 10242 1279 "Copy into fixed size buffer".</li> 1280 <li>magick/utility.c (GetPathComponent): Silence Coverity 10263 1281 "Copy into fixed size buffer".</li> 1282 <li>coders/txt.c (ReadTXTImage): Silence Coverity 10287 "Copy into 1283 fixed size buffer".</li> 1284 <li>coders/ps.c (WritePSImage): Silence Coverity 10289 "Copy into 1285 fixed size buffer".</li> 1286 <li>magick/delegate.c (ReadConfigureFile): Silence Coverity 10297 1287 "Copy into fixed size buffer".</li> 1288 <li>magick/log.c (ReadLogConfigureFile): Silence Coverity 10300 1289 "Copy into fixed size buffer".</li> 1290 <li>coders/ps3.c (WritePS3Image): Silence Coverity 10303 "Copy into 1291 fixed size buffer".</li> 1292 <li>coders/pdf.c (WritePDFImage): Silence Coverity 10304 "Copy into 1293 fixed size buffer".</li> 1294 <li>coders/ps.c (ReadPSImage): Silence Coverity 10306 "Copy into 1295 fixed size buffer".</li> 1296 <li>coders/msl.c (MSLStartElement): Silence Coverity 10308 "Copy 1297 into fixed size buffer".</li> 1298 <li>coders/ps2.c (WritePS2Image): Silence Coverity 10309 "Copy into 1299 fixed size buffer".</li> 1300 <li>Magick++/lib/Geometry.cpp (operator): Silence Coverity 44749 1301 "Copy into fixed size buffer".</li> 1302 <li>Magick++/lib/Image.cpp (annotate): Silence Coverity 44750 "Copy 1303 into fixed size buffer".</li> 1304 <li>coders/ept.c (ReadEPTImage): Silence Coverity 44751 "Copy into 1305 fixed size buffer".</li> 1306 <li>coders/wmf.c (ipa_device_begin): Silence Coverity 44753 "Copy 1307 into fixed size buffer". 1308 (lite_font_map): Silence Coverity 44752 "Copy into fixed size 1309 buffer".</li> 1310 <li>magick/random.c (InitializeMagickRandomKernel): Silence Coverity 1311 10091 "Don't Call" in the case where /dev/random is available.</li> 1312 <li>coders/mpeg.c (WriteMPEGParameterFiles): Fix Coverity 10190 1313 "Resource leak". File descriptor was leaked under certain error 1314 conditions.</li> 1315 <li>coders/wpg.c (UnpackWPG2Raster): Fix Coverity 10312 1316 "Uninitialized scalar variable" gripe.</li> 1317 <li>magick/utility.c (ListFiles): Possibly address 1318 Coverity 10245 "Sizeof not portable" gripe.</li> 1319 <li>magick/widget.c (MagickXFontBrowserWidget): Possibly address 1320 Coverity 10323 "Sizeof not portable" gripe.</li> 1321 <li>coders/mat.c (WriteMATLABImage): FormatString() requires a 1322 buffer of MaxTextExtent bytes. Use sprintf instead. Fix for 1323 Coverity issue 10170.</li> 1324 <li>Magick++/lib/Geometry.cpp (string): FormatString() requires a 1325 buffer of MaxTextExtent bytes. Fix for Coverity issue 44737.</li> 1326 <li>coders/wmf.c (draw_pattern_push): FormatString() requires a 1327 buffer of MaxTextExtent bytes. Fix for Coverity issue 44741. 1328 (ipa_device_begin): FormatString() requires a buffer of 1329 MaxTextExtent bytes. Fix for Coverity issue 44740. 1330 (util_set_brush): FormatString() requires a buffer of 1331 MaxTextExtent bytes. Fix for Coverity issue 44739. 1332 (ipa_region_clip): FormatString() requires a buffer of 1333 MaxTextExtent bytes. Fix for Coverity issue 44738.</li> 1334 </ul> 1335 </blockquote> 1336 <p>2015-03-15 Glenn Randers-Pehrson <<a class="reference external" href="mailto:glennrp%40simple.dallas.tx.us">glennrp<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1337 <blockquote> 1338 <ul class="simple"> 1339 <li>coders/png.c (WritePNGImage) Avoid a Coverity gripe about 1340 potential NULL dereference (actually it is impossible because 1341 png_error() does not return. Fix for Coverity gripe 44731.</li> 1342 <li>coders/png.c (WritePNGImage) Avoid a null pointer dereference 1343 while logging inherited color_type. Fix for Coverity issue 10185.</li> 1344 <li>coders/png.c (WriteOneJNGImage) Avoid possible unintended sign 1345 extension. Fix for Coverity issue 44744.</li> 1346 <li>coders/png.c (WriteOnePNGImage) Quiet a false Coverity warning 1347 about dereference after NULL check. Fix for Coverity issue 44729.</li> 1348 <li>coders/png.c (ReadOnePNGImage): Redid the "Respect the 1349 PixelsResource limit" patch of March 7, using unsigned arithmetic 1350 to determine the width limit. Sometimes the calculated 1351 width limit was incorrectly zero.</li> 1352 </ul> 1353 </blockquote> 1354 <p>2015-03-14 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1355 <blockquote> 1356 <ul class="simple"> 1357 <li>magick/image.c (SetImageInfo): Fix problems with reading 1358 filenames that include a colon. Resolves SourceForge bug #294 1359 "display and convert (probably other things too) choke on 1360 filenames with colons in".</li> 1361 <li>magick/utility.c (GetPathComponent): Fix SubImagePath 1362 extraction. Fixes SourceForge bug #66 "converting runs slowly when 1363 subimage is specified".</li> 1364 </ul> 1365 </blockquote> 1366 <p>2015-03-11 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1367 <blockquote> 1368 <ul class="simple"> 1369 <li>doc/options.imdoc (-geometry): Document the significance of 'x' 1370 as used in a geometry specification. In particular, document that 1371 if width is specified without a trailing 'x' that height is set to 1372 width. This is in response to SourceForge bug #296 "Strange 1373 -resize WIDTH results with version 1.3.21".</li> 1374 </ul> 1375 </blockquote> 1376 <p>2015-03-10 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1377 <blockquote> 1378 <ul class="simple"> 1379 <li>magick/utility.c (GlobExpression): Remove use of IsSubimage().</li> 1380 <li>magick/image.c (IsSubimage): Re-implement with a more robust 1381 solution. Combined with fixes to ps.c and pdf.c, allows selecting 1382 specific pages, as well as re-ordering.</li> 1383 <li>coders/ps.c (ReadPSImage): Set image frame scene ids 1384 appropriately.</li> 1385 <li>coders/pdf.c (ReadPDFImage): Set image frame scene ids 1386 appropriately.</li> 1387 <li>magick/utility.c (TranslateTextEx): -format %Q should report 1388 JPEG quality estimate if it is available. Resolves SourceForge 1389 bug #293 "gm identify bug?".</li> 1390 <li>doc/options.imdoc: Documented JPEG-specific -format tags.</li> 1391 </ul> 1392 </blockquote> 1393 <p>2015-03-07 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1394 <blockquote> 1395 <ul class="simple"> 1396 <li>Magick++/lib/Image.cpp (repage): New method to reset page 1397 settings. Contributed by Dirk Lemstra.</li> 1398 </ul> 1399 </blockquote> 1400 <p>2015-03-07 Glenn Randers-Pehrson <<a class="reference external" href="mailto:glennrp%40simple.dallas.tx.us">glennrp<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1401 <blockquote> 1402 <ul class="simple"> 1403 <li>coders/png.c (ReadOnePNGImage): Respect the PixelsResource 1404 limit.</li> 1405 <li>coders/png.c (ReadOnePNGImage): Moved quantum_scanline 1406 and png_pixels into the MngInfo struct. This prevents 1407 memory leaks when reading malformed PNG images, but unfortunately 1408 triggers a new complaint about a possible race condition.</li> 1409 <li>coders/png.c (ReadOnePNGImage): Removed two superflous calls to 1410 CloseBlob().</li> 1411 <li>coders/png.c (ReadOnePNGImage): Do the allocation and free of 1412 quantum_scanline outside the "pass" loop, i.e., do it once per 1413 image rather than once per pass while decoding interlaced PNG 1414 images. Log these when -debug coders is enabled.</li> 1415 <li>coders/png.c: Fixed typo recently introduced in the JNG reader 1416 (status != MagickFalse should be status == MagickFalse).</li> 1417 </ul> 1418 </blockquote> 1419 <p>2015-03-05 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1420 <blockquote> 1421 <ul class="simple"> 1422 <li>coders/xwd.c (ReadXWDImage): Fix memory leaks in error paths.</li> 1423 <li>coders/xpm.c (ReadXPMImage): Fix memory leaks in error paths.</li> 1424 <li>coders/miff.c (ReadMIFFImage): Fix memory leak of Image in error 1425 case. 1426 (ReadMIFFImage): Fix memory leaks of zlib and bzlib2 context in 1427 error path which reports decompression failure.</li> 1428 <li>coders/bmp.c (ReadBMPImage): BMP reader was wrongly rejecting 1429 RLE-compressed files as being too small. Fixes SourceForge bug 1430 #295 "1.3.21 identify regression". Also fixed 'ping' support code 1431 which was still reading the pixels in 'ping' mode. 1432 (ReadBMPImage): Fix memory leak when BMP is handled as a sequence.</li> 1433 </ul> 1434 </blockquote> 1435 <p>2015-03-01 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1436 <blockquote> 1437 <ul class="simple"> 1438 <li>coders/palm.c (ReadPALMImage): PALM reader now applies PALM's 1439 special non-linear colormap if the file does not provide a custom 1440 colormap. Custom colormap size is verified to not exceed image 1441 colors. Added logging statements regarding colormap.</li> 1442 </ul> 1443 </blockquote> 1444 <p>2015-02-28 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1445 <blockquote> 1446 <ul class="simple"> 1447 <li>www/index.rst: Update for 1.3.21 release.</li> 1448 <li>www/Changes.rst: Update for 1.3.21 release.</li> 1449 <li>NEWS.txt: Update NEWS for 1.3.21 release.</li> 1450 <li>version.sh: Bump/adjust library versioning.</li> 1451 </ul> 1452 </blockquote> 1453 <p>2015-02-25 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1454 <blockquote> 1455 <ul class="simple"> 1456 <li>magick/delegate.c: Fix compilation under Cygwin. Thanks to Marco 1457 Atzeri for advising us of this problem.</li> 1458 </ul> 1459 </blockquote> 1460 <p>2015-02-24 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1461 <blockquote> 1462 <ul class="simple"> 1463 <li>magick/error.h (ThrowReaderException): More significant 1464 exceptions (e.g. errors) should overwrite less significant 1465 exceptions (e.g. warnings) thrown earlier.</li> 1466 <li>coders/bmp.c (ReadBMPImage): Detect 32-bit integer overflows and 1467 other annoyances caused by intentionally broken files. Also, only 1468 warn if the file header claims the file is larger than it is since 1469 this is a benign issue.</li> 1470 <li>magick/blob.c (OpenBlob): Fix "magic header bytes" log message 1471 count value.</li> 1472 </ul> 1473 </blockquote> 1474 <p>2015-02-22 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1475 <blockquote> 1476 <ul class="simple"> 1477 <li>NEWS.txt: Updated NEWS with more changes.</li> 1478 <li>Magick++/lib/Magick++/Include.h (Magick): Add GetImageGeometry 1479 to MagickLib namespace in order to avoid a compilation problem 1480 noticed with Visual C++ 6.0.</li> 1481 </ul> 1482 </blockquote> 1483 <p>2014-02-22 Jaroslav Fojtik <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 1484 <blockquote> 1485 <ul class="simple"> 1486 <li><dl class="first docutils"> 1487 <dt>VisualMagickconfigureconfigure.cpp Fixed crash.</dt> 1488 <dd>Renamed debug to configure_d.exe to prevent mess.</dd> 1489 </dl> 1490 </li> 1491 </ul> 1492 </blockquote> 1493 <p>2015-02-21 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1494 <blockquote> 1495 <ul class="simple"> 1496 <li>magick/magick.c (InitializeMagick): Invoke 1497 NTInitializeExceptionHandlers() under Windows.</li> 1498 <li>magick/nt_base.c (NTInitializeExceptionHandlers): Add a new 1499 private function which disables pop-up Windows on exceptions and 1500 registers a handler for Windows exceptions to clean up temporary 1501 files prior to program exit.</li> 1502 <li>magick/magick.c (PanicDestroyMagick): Use 1503 PurgeTemporaryFilesAsyncSafe() rather than PurgeTemporaryFiles(). 1504 (InitializeMagickSignalHandlers): Always register for SIGINT, even 1505 under Microsoft Windows.</li> 1506 <li>magick/tempfile.c (PurgeTemporaryFilesAsyncSafe): New private 1507 function to clean up temporary files prior to program exit. 1508 Async-safe so it can be safely called from a signal handler. 1509 Intentionally leaks memory.</li> 1510 </ul> 1511 </blockquote> 1512 <p>2015-02-18 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1513 <blockquote> 1514 <ul class="simple"> 1515 <li>magick/attribute.c (GenerateEXIFAttribute): Fix crash while 1516 parsing corrupt EXIF which was reported by Stijn Sanders on 1517 2015-02-17.</li> 1518 <li>Magick++/lib/{Blob.cpp, Image.cpp}: Incorrect lock scope 1519 resulted in Magick++ locking not actually working to protect 1520 critical sections in spite of no detected problems with locking 1521 these past 16 years. Problem was detected using the 1522 misc-unused-raii check from clang-tidy and was reported by Hyrum 1523 Wright.</li> 1524 <li>coders/palm.c (ReadPALMImage): Add header logging to writer. 1525 Writer still seeks and overwrites its own header so logging is not 1526 entirely accurate yet.</li> 1527 </ul> 1528 </blockquote> 1529 <p>2015-02-16 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1530 <blockquote> 1531 <ul class="simple"> 1532 <li>libtool: Update GNU libtool to 2.4.6.</li> 1533 <li>coders/palm.c (ReadPALMImage): Fix support for transparency in 1534 PALM reader.</li> 1535 </ul> 1536 </blockquote> 1537 <p>2015-02-15 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1538 <blockquote> 1539 <ul class="simple"> 1540 <li>coders/palm.c (ReadPALMImage): Major re-work of PALM reader. 1541 More log message improvements. More header validation.</li> 1542 </ul> 1543 </blockquote> 1544 <p>2015-02-14 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1545 <blockquote> 1546 <ul class="simple"> 1547 <li>coders/palm.c (ReadPALMImage): Improve log messages. Add more 1548 header validation. Check image pixel limits. Support 'ping' 1549 mode.</li> 1550 </ul> 1551 </blockquote> 1552 <p>2015-02-12 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1553 <blockquote> 1554 <ul class="simple"> 1555 <li>coders/palm.c (ReadPALMImage): PALM reader now supports 1, 2, 4, 1556 8, and 16-bit test files we were able to generate using 1557 'pnmtopalm'. A progress monitor was added. Memory leaks in error 1558 paths were fixed.</li> 1559 </ul> 1560 </blockquote> 1561 <p>2015-02-12 Glenn Randers-Pehrson <<a class="reference external" href="mailto:glennrp%40simple.dallas.tx.us">glennrp<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1562 <blockquote> 1563 <ul class="simple"> 1564 <li>coders/png.c: Insert "if (QuantumTick(...))" ahead of 1565 each "if (!MagickMonitorFormatted(...)".</li> 1566 </ul> 1567 </blockquote> 1568 <p>2015-02-10 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1569 <blockquote> 1570 <ul class="simple"> 1571 <li>coders/rla.c (ReadRLAImage): Assure that header ASCII strings 1572 are properly terminated. Resolves Coverity CID 10322.</li> 1573 </ul> 1574 </blockquote> 1575 <p>2015-02-09 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1576 <blockquote> 1577 <ul class="simple"> 1578 <li>magick/nt_base.h (STDERR_FILENO): Provide definitions for 1579 standard POSIX file numbers so that Visual Studio should compile. 1580 Fixes SourceForge bug #291 "STDERR_FILENO (used in magick.c) is 1581 not defined under Windows"</li> 1582 </ul> 1583 </blockquote> 1584 <p>2015-02-08 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1585 <blockquote> 1586 <ul class="simple"> 1587 <li>Magick++/lib/Image.cpp (Image::quiet()): Patch by Dirk Lemstra 1588 to support silencing warnings in Magick++. Adds a quiet() method 1589 which blocks (ignores) warning exceptions when passed a true 1590 argument. Warning exceptions are still generated by default.</li> 1591 <li>coders/tiff.c: Support '-define tiff:report-warnings=true' to 1592 enable that warnings reported by libtiff are thrown as warning 1593 exceptions so that they may be caught or will be reported at the 1594 gm command-line.</li> 1595 </ul> 1596 </blockquote> 1597 <p>2015-02-07 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1598 <blockquote> 1599 <ul class="simple"> 1600 <li>coders/tiff.c (WriteTIFFImage): Use YCbCr encoding when JPEG 1601 compression is requested for an RGB image.</li> 1602 </ul> 1603 </blockquote> 1604 <p>2015-02-04 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1605 <blockquote> 1606 <ul class="simple"> 1607 <li>coders/tiff.c (QuantumTransferMode): Fix reading or writing 1608 planar min-is-white or min-is-black images with an associated 1609 alpha channel.</li> 1610 </ul> 1611 </blockquote> 1612 <p>2015-02-01 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1613 <blockquote> 1614 <ul class="simple"> 1615 <li>coders/xpm.c (ReadXPMImage): Reading empty XPM file should not 1616 cause bad memory access.</li> 1617 <li>coders/gif.c (DecodeImage): Assure that GIF decoder does not use 1618 unitialized data.</li> 1619 <li>coders/jpeg.c (ReadJPEGImage): Verify that we support the number 1620 of output components before proceeding to decode the image.</li> 1621 </ul> 1622 </blockquote> 1623 <p>2015-01-25 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1624 <blockquote> 1625 <ul class="simple"> 1626 <li>coders/miff.c (ReadMIFFImage): MIFF needs to stop spinning if 1627 zlib or bzlib report an error while decompressing. Solves problem 1628 with file provided by Jodie Cunningham on 2015-01-25.</li> 1629 <li>coders/vicar.c (ReadVICARImage): Fix Vicar reader's dogged 1630 determination to continue reading when there is nothing left to 1631 read. Solves problem with file provided by Jodie Cunningham on 1632 2015-01-25.</li> 1633 <li>magick/magick.c (PanicDestroyMagick): Replace memory allocation 1634 functions with dummy functions rather than NULL pointers. 1635 (InitializeMagickSignalHandlers): Register 1636 MagickPanicSignalHandler() for SIGSEGV. 1637 (MagickPanicSignalHandler): Produce an informative message for the 1638 user. 1639 (MagickSignalHandlerMessage): Include more detailed information 1640 from the signal handler via a common routine used by default 1641 signal handlers.</li> 1642 </ul> 1643 </blockquote> 1644 <p>2015-01-25 Glenn Randers-Pehrson <<a class="reference external" href="mailto:glennrp%40simple.dallas.tx.us">glennrp<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1645 <blockquote> 1646 <ul class="simple"> 1647 <li>coders/bmp.c (ReadBMPImage): An attempt to address CID 10291.</li> 1648 </ul> 1649 </blockquote> 1650 <p>2015-01-25 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1651 <blockquote> 1652 <ul class="simple"> 1653 <li>magick/nt_base.c (Exit): Changed to return 'void'. Function can 1654 not return a value if it does not return.</li> 1655 <li>magick/error.c (DefaultFatalErrorHandler): Invoke 1656 PanicDestroyMagick() rather than DestroyMagick(). If we are 1657 really that short on memory, DestroyMagick() might not work.</li> 1658 <li>magick/magick.c (MagickPanicSignalHandler): Only use async-safe 1659 functions in signal handler. 1660 (PanicDestroyMagick): New function for emergency release of 1661 persistent resources just prior to program exit. Async-safe and 1662 does not acquire or release any heap memory.</li> 1663 <li>magick/export.c: Eliminate two 'clang' warnings.</li> 1664 </ul> 1665 </blockquote> 1666 <p>2015-01-24 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1667 <blockquote> 1668 <ul class="simple"> 1669 <li>coders/pdb.c (ReadPDBImage): Fix typo.</li> 1670 <li>coders/cineon.c (ReadCINEONImage): Enforce that Cineon image 1671 info channels is valid. Solves problem with file provided by 1672 Jodie Cunningham on 2015-01-24</li> 1673 <li>coders/fits.c (ReadFITSImage): Enforce valid bits-per-pixel 1674 values. Add detailed header logging. Solves problem with file 1675 provided by Jodie Cunningham on 2015-01-24</li> 1676 </ul> 1677 </blockquote> 1678 <p>2015-01-22 Glenn Randers-Pehrson <<a class="reference external" href="mailto:glennrp%40simple.dallas.tx.us">glennrp<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1679 <blockquote> 1680 <ul class="simple"> 1681 <li>coders/png.c (ReadPNGImage): Check length of various MNG 1682 chunks before using the chunk data.</li> 1683 <li>coders/png.c (WriteOnePNGImage): Use png_error() instead of 1684 throwing an exception so cleanup in the setjmp block can happen, 1685 including unlocking the semaphore. Addresses Coverity CID 10184.</li> 1686 </ul> 1687 </blockquote> 1688 <p>2015-01-22 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1689 <blockquote> 1690 <ul class="simple"> 1691 <li>coders/gif.c (WriteGIFImage): Don't use an unchecked value from 1692 GetImageAttribute(), even if the access succeeded before. 1693 Resolves Coverity CID 10219.</li> 1694 <li>coders/dpx.c (StringToAttribute): Make sure that string is not 1695 accidentally shortened by one character if it occupies the full 1696 field size. 1697 (ReadDPXImage): Validate that the bits per sample claimed by the 1698 file header is a supported depth before using it further in the 1699 code. This might resolve Coverity CID 10071 "Bad shift 1700 operation". 1701 (ReadDPXImage): Check for EOF while reading forward to element 1702 data. Might solve Coverity CID 10305.</li> 1703 <li>coders/dib.c (ReadDIBImage): Resolve Coverity CID 10228 "Integer 1704 overflowed argument". 1705 (ReadDIBImage): Hopefully resolve Coverity CID 10268 "Various", 1706 which is primarily about placing too much trust in the claimed 1707 number of colors.</li> 1708 <li>coders/pnm.c (WritePNMImage): Fix overwrite of status by 1709 progress monitor. Remaining issues may lurk within. May resolve 1710 Coverity CID 10288.</li> 1711 <li>coders/pdb.c: Resolve Coverity CID 11173 "Buffer not null 1712 terminated".</li> 1713 </ul> 1714 </blockquote> 1715 <p>2015-01-21 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1716 <blockquote> 1717 <ul class="simple"> 1718 <li>magick/magick.c (GetMagickInfoArray): Resolve Coverity CID 10212 1719 "Missing unlock".</li> 1720 <li>magick/colormap.c (ReplaceImageColormap): Allocate new image 1721 colormap up front in order to avoid the possibility that we are 1722 left with an image with no colormap due to memory allocation 1723 failure. If there is a memory allocation failure, then the 1724 original colormap is preserved. Resolves Coverity CID 10194 1725 "Dereference after null check".</li> 1726 <li>magick/utility.c (MagickStripSpacesFromString): New private 1727 utility function to strip spaces from a string.</li> 1728 <li>magick/color_lookup.c (GetColorInfoArray): Resolves Coverity CID 1729 10231 "Missing unlock" 1730 (ReadColorConfigureFile): Resolves Coverity CID 10261 "Use of 1731 untrusted scalar value" 1732 (GetColorInfo): Resolves Coverity CID 10077 "Overlapping buffer in 1733 memory copy".</li> 1734 </ul> 1735 </blockquote> 1736 <p>2015-01-21 Glenn Randers-Pehrson <<a class="reference external" href="mailto:glennrp%40simple.dallas.tx.us">glennrp<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1737 <blockquote> 1738 <ul class="simple"> 1739 <li>coders/png.c (ReadOnePNGImage): Use png_error() instead of 1740 throwing an exception so cleanup in the setjmp block can happen, 1741 including unlocking the semaphore. Resolves Coverity CID 10232.</li> 1742 <li>coders/png.c (ReadOnePNGImage): Moved a logging statement into a 1743 block where "attribute" has been checked for NULL. Resolves 1744 Coverity CIDs 10185 and 10187.</li> 1745 <li>coders/png.c (ReadMNGImage): Fixed a cut-and-paste typo 1746 (change_delay should be change_timeout) reported by Coverity 1747 CID 10090.</li> 1748 </ul> 1749 </blockquote> 1750 <p>2015-01-20 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1751 <blockquote> 1752 <ul class="simple"> 1753 <li>magick/image.c (CloneImage): The definition is poor as to what a 1754 non-orphan clone should do. However, the definition surely does 1755 not include crashing the software or supplanting the original 1756 image in an image list. Clone image blob and previous/next 1757 pointers but do not supplant original image in list. Resolves 1758 Coverity CID 10155.</li> 1759 </ul> 1760 </blockquote> 1761 <p>2015-01-18 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1762 <blockquote> 1763 <ul class="simple"> 1764 <li>coders/dpx.c (WriteRowSamples): Ensure that callback function is 1765 always defined. Resolves Coverity CID 10122. 1766 (ReadRowSamples): Ensure that callback function is always 1767 defined. Resolves Coverity CID 10125.</li> 1768 <li>magick/random.c (InitializeMagickRandomKernel): Avoid possible 1769 double-close of file. Resolves Coverity CID 10257.</li> 1770 <li>coders/histogram.c (WriteHISTOGRAMImage): Avoid possible divide 1771 by zero exception. Resolves Coverity CID 10107.</li> 1772 <li>magick/error.c (MagickFatalError): Document that 1773 MagickFatalError() is not supposed to return (program must quit) 1774 and add GCC/Clang hints to that effect.</li> 1775 <li>magick/bit_stream.c (BitAndMasks): Avoid possible access 1776 one-beyond end of BitAndMasks array. It is not clear if there is 1777 a possible bug with 32-bit quantums. If there is a bug, it has 1778 not been noticed via testing. Resolves Coverity CID 10213.</li> 1779 <li>magick/tempfile.c (AcquireTemporaryFileDescriptor): Avoid buffer 1780 overrun in the case of an astonishingly long environment variable 1781 string. Resolves Coverity CID 10267. 1782 (AddTemporaryFileToList): Use strlcpy() rather than strlcpy(). In 1783 practice, should not make a difference. Will quiet Coverity CID 1784 10321.</li> 1785 <li>magick/command.c (GMCommandSingle): Don't use the address of a 1786 stack allocation to update argv[0]. Removed updating argv[0] until 1787 a better design can be found. Resolves Coverity CID 10223. 1788 (GMCommandSingle): Plan B: Use static allocation from 1789 SetClientName() to both store the new command name and provide 1790 storage for argv[0].</li> 1791 <li>magick/utility.c (SystemCommand): Fix possible overwrite of 1792 memory location due to uninitialized 'end' pointer. Resolves 1793 Coverity CID 10251.</li> 1794 <li>magick/blob.c (WriteBlobFile): Was not closing file in certain 1795 error conditions. Resolves Coverity CID 10237.</li> 1796 <li>coders/cineon.c (ReadCINEONImage): Don't trust file header so 1797 much. Resolves Coverity CIDs 10079, 10310, 10325.</li> 1798 <li>coders/art.c (ReadARTImage): Fix signed vs unsigned comparison 1799 caused by earlier changes.</li> 1800 </ul> 1801 </blockquote> 1802 <p>2014-01-17 Fojtik Jaroslav <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 1803 <blockquote> 1804 <ul class="simple"> 1805 <li>coders/wpg.c Do not execute wpg raster read in ping mode.</li> 1806 </ul> 1807 </blockquote> 1808 <p>2014-01-15 Fojtik Jaroslav <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 1809 <blockquote> 1810 <ul class="simple"> 1811 <li>coders/mat.c Properly deallocating zip structures.</li> 1812 </ul> 1813 </blockquote> 1814 <p>2015-01-14 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1815 <blockquote> 1816 <ul class="simple"> 1817 <li>coders/sfw.c (ReadSFWImage): Fix pixel cache access errors in 1818 'ping' mode.</li> 1819 </ul> 1820 </blockquote> 1821 <p>2015-01-13 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1822 <blockquote> 1823 <ul class="simple"> 1824 <li>coders/wmf.c (ReadWMFImage): Fix memory leak in 'ping' mode and 1825 some error paths.</li> 1826 </ul> 1827 </blockquote> 1828 <p>2015-01-12 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1829 <blockquote> 1830 <ul class="simple"> 1831 <li>coders/jbig.c (ReadJBIGImage): Fix memory leak in 'ping' mode.</li> 1832 <li>magick/delegate.c (InvokeDelegate): Fix memory leak of argument 1833 list when invoking external program via MagickSpawnVP().</li> 1834 </ul> 1835 </blockquote> 1836 <p>2015-01-11 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1837 <blockquote> 1838 <ul class="simple"> 1839 <li>magick/resource.c (InitializeMagickResources): Base image width 1840 and height default limits on the range of a 32-bit signed integer, 1841 even for 64-bit builds. These limits are still beyond what most 1842 computers in the world can handle. Limits can be increased by the 1843 user.</li> 1844 <li>coders/xwd.c (ReadXWDImage): Check image size limits 1845 immediately.</li> 1846 <li>coders/xc.c (ReadXCImage): Check image size limits immediately.</li> 1847 <li>coders/webp.c (ReadWEBPImage): Check image size limits 1848 immediately.</li> 1849 <li>coders/viff.c (ReadVIFFImage): Check image size limits 1850 immediately.</li> 1851 <li>coders/vicar.c (ReadVICARImage): Check image size limits 1852 immediately.</li> 1853 <li>coders/txt.c (ReadTXTImage): Check image size limits 1854 immediately.</li> 1855 <li>coders/ttf.c (ReadTTFImage): Check image size limits 1856 immediately.</li> 1857 <li>coders/tim.c (ReadTIMImage): Check image size limits 1858 immediately.</li> 1859 <li>coders/tiff.c (ReadTIFFImage): Check image size limits 1860 immediately.</li> 1861 <li>coders/tga.c (ReadTGAImage): Check image size limits 1862 immediately.</li> 1863 <li>coders/sgi.c (ReadSGIImage): Check image size limits 1864 immediately.</li> 1865 <li>coders/sct.c (ReadSCTImage): Check image size limits 1866 immediately.</li> 1867 <li>coders/rle.c (ReadRLEImage): Check image size limits 1868 immediately.</li> 1869 <li>coders/rla.c (ReadRLAImage): Check image size limits 1870 immediately.</li> 1871 <li>coders/psd.c (ReadPSDImage): Check image size limits 1872 immediately.</li> 1873 <li>coders/pnm.c (ReadPNMImage): Check image size limits 1874 immediately.</li> 1875 <li>coders/pix.c (ReadPIXImage): Check image size limits 1876 immediately.</li> 1877 <li>coders/pict.c (ReadPICTImage): Check image size limits 1878 immediately.</li> 1879 <li>coders/pdb.c (ReadPDBImage): Check image size limits 1880 immediately.</li> 1881 <li>coders/pcx.c (ReadPCXImage): Check image size limits 1882 immediately.</li> 1883 <li>coders/pcd.c (ReadPCDImage): Check image size limits 1884 immediately.</li> 1885 <li>coders/otb.c (ReadOTBImage): Check image size limits 1886 immediately.</li> 1887 <li>coders/null.c (ReadNULLImage): Check image size limits 1888 immediately.</li> 1889 <li>coders/mvg.c (ReadMVGImage): Check image size limits 1890 immediately.</li> 1891 <li>coders/mtv.c (ReadMTVImage): Check image size limits 1892 immediately.</li> 1893 <li>coders/mpc.c (ReadMPCImage): Check image size limits 1894 immediately.</li> 1895 <li>coders/miff.c (ReadMIFFImage): Check image size limits 1896 immediately.</li> 1897 <li>coders/jpeg.c (ReadJPEGImage): Check image size limits 1898 immediately.</li> 1899 <li>coders/jp2.c (ReadJP2Image): Check image size limits 1900 immediately.</li> 1901 <li>coders/jbig.c (ReadJBIGImage): Check image size limits 1902 immediately.</li> 1903 <li>coders/hdf.c (ReadHDFImage): Check image size limits 1904 immediately.</li> 1905 <li>coders/gif.c (ReadGIFImage): Check image size limits 1906 immediately.</li> 1907 <li>coders/fpx.c (ReadFPXImage): Check image size limits 1908 immediately.</li> 1909 <li>coders/fax.c (ReadFAXImage): Check image size limits 1910 immediately.</li> 1911 <li>coders/dpx.c (ReadDPXImage): Check image size limits 1912 immediately.</li> 1913 <li>coders/dps.c (ReadDPSImage): Check image size limits 1914 immediately.</li> 1915 <li>coders/dib.c (ReadDIBImage): Check image size limits 1916 immediately.</li> 1917 <li>coders/dcm.c (ReadDCMImage): Check image size limits 1918 immediately.</li> 1919 <li>coders/cut.c (ReadCUTImage): Check image size limits 1920 immediately.</li> 1921 <li>coders/cineon.c (ReadCINEONImage): Check image size limits 1922 immediately.</li> 1923 <li>coders/avs.c (ReadAVSImage): Check image size limits 1924 immediately.</li> 1925 <li>coders/art.c (ReadARTImage): Check image size limits 1926 immediately.</li> 1927 <li>coders/sun.c (ReadSUNImage): Check image size limits in advance 1928 of allocating memory for pixels.</li> 1929 <li>coders/bmp.c (ReadBMPImage): Check image size limits in advance 1930 of allocating memory for pixels.</li> 1931 <li>coders/sun.c (ReadSUNImage): There is no definition for Sun map 1932 type RMT_RAW so it can not be supported. Update DirectClass 1933 pixels directly rather using SyncImage(). Problem was reported by 1934 Jodie Cunningham.</li> 1935 </ul> 1936 </blockquote> 1937 <p>2015-01-10 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1938 <blockquote> 1939 <ul class="simple"> 1940 <li>coders/pict.c (ReadPICTImage): Fix PICT reader crash when 1941 reading corrupted file.</li> 1942 <li>coders/sun.c (ReadSUNImage): Sun reader was still not as robust 1943 as it should be. Now it is.</li> 1944 </ul> 1945 </blockquote> 1946 <p>2014-01-10 Fojtik Jaroslav <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 1947 <blockquote> 1948 <ul class="simple"> 1949 <li>coders/wpg.c Fixed reading behind EOF issue.</li> 1950 </ul> 1951 </blockquote> 1952 <p>2015-01-09 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1953 <blockquote> 1954 <ul class="simple"> 1955 <li>coders/dpx.c (LSBPackedU32WordToOctets): Fix typo which adds 1956 severe corruption to encoded little-endian 32-bit packed output. 1957 The good news is that since the corruption is severe, it is easily 1958 visually detected. The problem has corrupted all such 1959 (little-endian 10-bit) output since it was originally implemented 1960 on 2007-06-17 (changeset 11686, first released in GraphicsMagick 1961 1.1.8). GraphicsMagick preserves the endianness of input DPX 1962 files by default, defaults to big-endian, and DPX files are 1963 commonly big-endian, so this problem may not have occured for many 1964 usages. Problem was reported by Steve Dabner on the 1965 GraphicsMagick discussion mailing list.</li> 1966 </ul> 1967 </blockquote> 1968 <p>2015-01-05 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1969 <blockquote> 1970 <ul class="simple"> 1971 <li>magick/magick.c (MagickPanicSignalHandler): Print a message in 1972 the case of signals SIGXCPU and SIGXFSZ.</li> 1973 <li>coders/bmp.c (ReadBMPImage): Don't hang in endless loop if EOF 1974 is encountered while checking for "BA" header.</li> 1975 <li>coders/icon.c (ReadIconImage): Limit icon image allocation size.</li> 1976 </ul> 1977 </blockquote> 1978 <p>2015-01-04 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1979 <blockquote> 1980 <ul class="simple"> 1981 <li>coders/icon.c (ReadIconImage): Removed all of the 1982 previously-existing DIB reading code from icon.c and use new 1983 "ICODIB" reader to read DIB icons, or the PNG reader to read PNG 1984 icons.</li> 1985 <li>coders/dib.c (ReadDIBImage): Added an "ICODIB" coder for 1986 internal use which reads a Windows BMP 3 DIB followed by a Windows 1987 ICO alpha mask. This allows existing DIB code to be used to read 1988 ICO directory entries.</li> 1989 </ul> 1990 </blockquote> 1991 <p>2015-01-03 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1992 <blockquote> 1993 <ul class="simple"> 1994 <li>coders/icon.c: The Windows ICO reader is now more robust. Still 1995 a work in progress since some files still can not be read or read 1996 incorrectly.</li> 1997 </ul> 1998 </blockquote> 1999 <p>2015-01-01 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 2000 <blockquote> 2001 <ul class="simple"> 2002 <li>magick/resource.c (ListMagickResourceInfo): "kilo" for binary 2003 prefixes is supposed to be "Ki".</li> 2004 <li>magick/utility.c (FormatSize): "kilo" for binary prefixes is 2005 supposed to be "Ki".</li> 2006 </ul> 2007 </blockquote> 2008 <p>2015-01-01 Glenn Randers-Pehrson <<a class="reference external" href="mailto:glennrp%40simple.dallas.tx.us">glennrp<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 2009 <blockquote> 2010 <ul class="simple"> 2011 <li>coders/png.c: Use WidthResource and HeightResource instead 2012 of fixed 1-million limit for rows and columns.</li> 2013 </ul> 2014 </blockquote> 2015 <p>2015-01-01 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 2016 <blockquote> 2017 <ul class="simple"> 2018 <li>magick/utility.c (FormatSize): Add 'i' to value range 2019 identifiers since these are all in units of 2^10 rather than 1000.</li> 2020 <li>magick/pixel_cache.c (CheckImagePixelLimits): Fix typo and 2021 produce an informative error message.</li> 2022 <li>magick/resource.c: Added support for Image width and height 2023 pixels resource limits.</li> 2024 <li>magick/resource.h (ResourceType): New resource enumerations 2025 WidthResource and HeightResource.</li> 2026 <li>magick/enum_strings.c (StringToResourceType): Added support for 2027 parsing '-limit Width' and '-limit Height'.</li> 2028 <li>magick/pixel_cache.c (CheckImagePixelLimits): New function to 2029 test image to see if it exceeds pixels limits.</li> 2030 <li>coders/viff.c (ReadVIFFImage): Make the VIFF reader robust with 2031 detecting and reporting problems.</li> 2032 </ul> 2033 </blockquote> 2034 <p>2014-12-31 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 2035 <blockquote> 2036 <ul class="simple"> 2037 <li>Rotate Changelog for new year. Update documentation copyrights 2038 for new year.</li> 2039 </ul> 2040 </blockquote> 2041 </div> 2042 </body> 2043 </html>