X-Git-Url: http://git.imager.perl.org/imager.git/blobdiff_plain/a9fa5463b9175905c9b0d4d3347fa142d34716f8..eb7e48c9e5cc5ae4302002753b0b6b7b53f815e4:/Changes diff --git a/Changes b/Changes index 4f47a99e..bfb3c680 100644 --- a/Changes +++ b/Changes @@ -1,10 +1,71 @@ Imager release history. Older releases can be found in Changes.old +Coverity finally finished a build, fix a few problems: + + - reading a color-mapped TGA file with an id string would cause a + double-free if the palette was truncated. + + - mixing scaling to sizes where the accumulator row, the working + output row or the working input row didn't fit into the address + space could result in memory leaks. This can probably only be + reproduced on very wide floating-point sample images. + + - convert an array style function parameter pointer to pointer style + to prevent confusing Coverity in the T1 bounding box implementation. + + - Similarly in the FT1 bounding box implementation. + + - initialize a pointer to prevent Coverity complaining in polygon + drawing (it should always end up being set.) + + - addi style makemap could potentially read one past the end of an + array. + + - supplying a numeric hatch of 32 to Imager::Fill->new(hatch => ...) + would result in read beyond the end of the built-in hatch array. + Negative values (which Coverity didn't complain about) could also + cause problems. + + - the Imager::Color set_internal() interal method no longer + calls the over-complicated ICL_set_internal() (which is retained + only for the old API.) Coverity complained that this leaked, but + this could only occur with an invalid (NULL pointer) color object. + + - the underlying implementation of the map() method could read before + the beginning on an allocated array if supplied with inconsistent + parameters, which Coverity complained about. No Imager code calls + that function with inconsistent parameters, but a + belt-and-suspenders check was added. + + - Coverity complained a call to i_getcolors(), used by the + implementation of the is_bilevel() method could leave the fetched + colors uninitialized. Added a return value check. + +Imager 1.008 - 31 Dec 2018 +============ + + - moved EXIF handling from Imager::File::JPEG to core Imager + This allows file formats that store EXIF data as blobs similarly + to JPEG to re-use this code. (such as Imager::File::WEBP) + + - added some more file extensions to image file type mappings + + - added add_type_extensions() class method + +Imager 1.007 - 24 Nov 2018 +============ + - add png_compression_level tag for writing PNG files. - avoid flooring a second time in matrix transform interpolation. https://rt.cpan.org/Ticket/Display.html?id=124001 + - produce v2 metadata. + Includes change from the ticket and updates to sub-modules. + https://rt.cpan.org/Ticket/Display.html?id=127216 + + - improve error reporting for the polygon() method + Imager 1.006 - 26 Aug 2017 ============