Here is an update to GraphicsMagick 1.3.39.

1.3.39 (December 26, 2022)
==========================

Security Fixes:

* oss-fuzz: Several security fixes originating from oss-fuzz testing.

* ALL: Replace strcpy() with strlcpy(), replace strcat() with
  strlcat(), replace sprintf() with snprintf().  Prefer using bounded
  string functions.  This change is made for the purpose of increasing
  safety than to address any existing demonstrated concern.

Bug fixes:

* Coverity: Several fixes for issues found by Coverity to reduce the
  number of reported issues back down to zero.

* Clang Analyzer 12: Fix most discovered issues.

* PNG: Fix possible use of uninitialized 'ping_num_trans' value in
  ReadOnePNGImage().

* MinGW: Eliminate overwrite of existing _MSC_VER value in MinGW compile.

* MNG: Fix heap-use-after-free in CloseBlob.

* MNG: Fix indirect leak in MagickMallocCleared().

* PS: Assure that 'bounds' structure is initialized.

* EPT: Assure that 'bounds' structure is initialized.

* HEIF: If heif_image_handle_get_metadata_size() returns 0, then
  carrying on with reading image data.

* configure.ac: Fix Bashism in maintainer-mode check.

* TGA: Remove a defective validation of comment length, which blocked
  reading some sample TGA files from the "Encyclopedia Of Graphics
  File Formats" book.  Monochromatic bilevel TGA can now be read and
  written.  TGA "Footers" are now read and used when logging as well
  as converted to Image attributes.

* WebP: Add configure.ac updates to check for libsharpyuv so that
  builds with the development version work again.

* Visual Studio Build (VisualMagick): Fix project file generation.
  Improve portability of code for configure.exe.

* Fixed mixed encoding (non-UTF-8) errors in text and source files.

* DrawPrimitive(): Fix composition using "0,0" for image size.  This
  became broken in GraphicsMagick 1.3.36.

* Blob API: Fixed SEEK_END validation.  SEEK_END was not used before,
  but now it is.

New Features:

* AVIF: Support reading AVIF via libheif if it supports decoding AVIF
  (still no writer support).

* LOG: Added function IsEventLogged() to report if a particular event
  will be logged.  Us this as much as possible throughout the software
  to replace use of IsEventLogging().  This avoids a possible
  performance hit if any logging is enabled at all and logging
  statements are executed which are filtered and produce no output.

* FITS: Support storing multiple scenes in one file (non-standard
  extension).

* JPEG: Optionally enable arithmetic coder in JPG images using
  '-define jpeg:arithmetic-coding=true'.

* JPEG: Add support for reading deep gray images.

* HEIF: Support reading ICC color profiles.

* Produce ASCII armored ".asc" format GPG signature files.

* Support reading directly from .bz2, .gz, .svgz, and .Z files
  (without creating a temporary file), if possible.

API Updates:

* Magick++: Provide a version of Image::colorMapSize() which is a
  'const' method.  Continue to provide the non-const version in order
  to avoid an ABI change.  The compiler should choose the appropriate
  version.

Feature improvements:

* HTML documentation generation based on Docutils is significantly
  updated and improved.

* PerlMagick: Added more sample input files and changed many reader
  tests to use hash signature rather than comparison to reduce the
  distribution size.

* Blob: The ReadBlobString() function has been re-written to perform
  better when reading from files.

* JXL: The JXL coder is updated to compile with what will likely
  become JXL 0.8.0.  Support for 16-bit 'short' samples, 16-bit
  'float' samples, and 32-bit float samples added.  Support for
  reading and writing ICC, EXIF, and XMP profiles added.

* MIME: GM "magick" to MIME mappings have been added for apng, avif,
  bmp, ico, and webp (regardless of if they are supported).

* XPM: The XPM reader performance is dramatically improved and is
  observed to be 32x faster when reading a medium-sized XPM file
  (e.g. the GraphicsMagick logo).

* XPM: Support reading "deep" images with more pallete entries than
  the maximum colormap size.


Index: Makefile
===================================================================
RCS file: /home/cvs/ports/graphics/GraphicsMagick/Makefile,v
retrieving revision 1.69
diff -u -p -u -p -r1.69 Makefile
--- Makefile    31 Oct 2022 23:14:54 -0000      1.69
+++ Makefile    8 Jan 2023 12:16:38 -0000
@@ -1,12 +1,12 @@
 COMMENT=       image processing tools with stable ABI
 
-DISTNAME=      GraphicsMagick-1.3.38
+DISTNAME=      GraphicsMagick-1.3.39
 CATEGORIES=    graphics devel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=graphicsmagick/}
 EXTRACT_SUFX=  .tar.xz
 
-SHARED_LIBS=   GraphicsMagick          9.2 \
-               GraphicsMagick++        6.0 \
+SHARED_LIBS=   GraphicsMagick          9.3 \
+               GraphicsMagick++        6.1 \
                GraphicsMagickWand      4.0
 
 HOMEPAGE=      http://www.graphicsmagick.org/
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/graphics/GraphicsMagick/distinfo,v
retrieving revision 1.32
diff -u -p -u -p -r1.32 distinfo
--- distinfo    24 Apr 2022 21:08:29 -0000      1.32
+++ distinfo    8 Jan 2023 11:54:11 -0000
@@ -1,2 +1,2 @@
-SHA256 (GraphicsMagick-1.3.38.tar.xz) = 
1gzZ21k1HSucsZvrRDFwrKoo8HPRPSWPZ7NidjXjJnU=
-SIZE (GraphicsMagick-1.3.38.tar.xz) = 5958352
+SHA256 (GraphicsMagick-1.3.39.tar.xz) = 
4wscpY6HPQoe4gg4RyRCTbLTwzpUA04mHRTo+7j40E8=
+SIZE (GraphicsMagick-1.3.39.tar.xz) = 5509028
Index: patches/patch-configure
===================================================================
RCS file: /home/cvs/ports/graphics/GraphicsMagick/patches/patch-configure,v
retrieving revision 1.21
diff -u -p -u -p -r1.21 patch-configure
--- patches/patch-configure     11 Mar 2022 19:22:04 -0000      1.21
+++ patches/patch-configure     8 Jan 2023 12:08:02 -0000
@@ -1,7 +1,7 @@
 Index: configure
 --- configure.orig
 +++ configure
-@@ -28046,7 +28046,7 @@ done
+@@ -28557,7 +28557,7 @@ done
  #
  
  # Subdirectory under lib to place GraphicsMagick lib files
@@ -10,7 +10,7 @@ Index: configure
  
  cat >>confdefs.h <<_ACEOF
  #define MagickLibSubdir "$MagickLibSubdir"
-@@ -28150,7 +28150,7 @@ _ACEOF
+@@ -28661,7 +28661,7 @@ _ACEOF
  
  #
  # Path to GraphicsMagick share files

Reply via email to