]> git.imager.perl.org - imager.git/blobdiff - Changes
Coverity complained colors could be left uninitialized.
[imager.git] / Changes
diff --git a/Changes b/Changes
index 27b0f412211936d91ff188adb2f2b15f8dea25f7..bfb3c680318a6fee5eb9cbc43502a031f982a94a 100644 (file)
--- a/Changes
+++ b/Changes
@@ -26,6 +26,21 @@ Coverity finally finished a build, fix a few problems:
    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
 ============