pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/GraphicsMagick GraphicsMagick: u...

branches:  trunk
changeset: 307413:617c10d16a4f
user:      adam <>
date:      Sun May 06 10:03:33 2018 +0000
GraphicsMagick: updated to 1.3.29

Security Fixes:
GraphicsMagick is now participating in Google's oss-fuzz project due to the contributions and assistance of Alex Gaynor. Since February 4 2018, 180 issues have been opened by oss-fuzz and 173 of 
those issues have been resolved. The issues list is available at under search term "graphicsmagick". Issues are available for anyone to view and 
duplicate if they have been in "Verified" status for 30 days, or if they have been in "New" status for 90 days. There are too many fixes to list here. Please consult the GraphicsMagick ChangeLog 
file, Mercurial repository commit log, and the oss-fuzz issues list for details.
JNG: Require that the embedded JPEG image have the same dimensions as the JNG image as provided by JHDR. Avoids a heap write overflow.
MNG: Arbitrarily limit the number of loops which may be requested by the MNG LOOP chunk to 512 loops, and provide the '-define mng:maximum-loops=value' option in case the user wants to change the 
limit. This fixes a denial of service caused by large LOOP specifications.

Bug fixes:
Many oss-fuzz fixes are bug fixes.
DICOM: Pre/post rescale functions are temporarily disabled (until the implementation is fixed).
JPEG: Fix regression in last release in which reading some JPEG files produces the error "Improper call to JPEG library in state 201".
ICON: Some DIB-based Windows ICON files were reported as corrupt to an unexpectedly missing opacity mask image.
In-memory Blob I/O: Don't implicitly increase the allocation size due to seek offsets.
MNG: Detect and handle failure to allocate global PLTE. Fix divide by zero.
DrawGetStrokeDashArray(): Check for failure to allocate memory.
BlobToImage(): Now produces useful exception reports to cover the cases where 'magick' was not set and the file format could not be deduced from its header.

API Updates:
Wand API: Added MagickIsPaletteImage(), MagickIsOpaqueImage(), MagickIsMonochromeImage(), MagickIsGrayImage(), MagickHasColormap() based on contributions by Troy Patteson.
New structure ImageExtra added and Image 'clip_mask' member is replaced by 'extra' which points to private ImageExtra allocation. The ImageGetClipMask() function now provides access to the clip mask 
New structure DrawInfoExtra and DrawInfo 'clip_path' is replaced by 'extra' which points to private DrawInfoExtra allocation. The DrawInfoGetClipPath() function now provides access to the clip path.
New core library functions: GetImageCompositeMask(), CompositeMaskImage(), CompositePathImage(), SetImageCompositeMask(), ImageGetClipMask(), ImageGetCompositeMask(), DrawInfoGetClipPath(), 
Deprecated core library functions: RegisterStaticModules(), UnregisterStaticModules().

Feature improvements:
Static modules (in static library or shared library without dynamically loadable modules) are now lazy-loaded using the same external interface as the lazy-loader for dynamic modules. This results in 
more similarity between the builds and reduces the fixed initialization overhead by only initializing the modules which are used.
SVG: The quality of SVG support has been significantly improved due to the efforts of Greg Wolfe.
FreeType/TTF rendering: Rendering fixes for opacity.


 graphics/GraphicsMagick/Makefile        |   3 +--
 graphics/GraphicsMagick/Makefile.common |   4 ++--
 graphics/GraphicsMagick/PLIST           |   4 +++-
 graphics/GraphicsMagick/distinfo        |  10 +++++-----
 4 files changed, 11 insertions(+), 10 deletions(-)

diffs (61 lines):

diff -r 1515a2399c78 -r 617c10d16a4f graphics/GraphicsMagick/Makefile
--- a/graphics/GraphicsMagick/Makefile  Sun May 06 10:02:15 2018 +0000
+++ b/graphics/GraphicsMagick/Makefile  Sun May 06 10:03:33 2018 +0000
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.87 2018/04/17 22:29:32 wiz Exp $
+# $NetBSD: Makefile,v 1.88 2018/05/06 10:03:33 adam Exp $
 .include "Makefile.common"
diff -r 1515a2399c78 -r 617c10d16a4f graphics/GraphicsMagick/Makefile.common
--- a/graphics/GraphicsMagick/Makefile.common   Sun May 06 10:02:15 2018 +0000
+++ b/graphics/GraphicsMagick/Makefile.common   Sun May 06 10:03:33 2018 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile.common,v 1.19 2018/01/28 15:23:52 wiz Exp $
+# $NetBSD: Makefile.common,v 1.20 2018/05/06 10:03:33 adam Exp $
 # used by graphics/GraphicsMagick/Makefile
 # used by graphics/p5-GraphicsMagick/Makefile
 DISTNAME=      GraphicsMagick-${DISTVERSION}
 CATEGORIES=    graphics
diff -r 1515a2399c78 -r 617c10d16a4f graphics/GraphicsMagick/PLIST
--- a/graphics/GraphicsMagick/PLIST     Sun May 06 10:02:15 2018 +0000
+++ b/graphics/GraphicsMagick/PLIST     Sun May 06 10:03:33 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.26 2018/01/28 15:23:52 wiz Exp $
+@comment $NetBSD: PLIST,v 1.27 2018/05/06 10:03:33 adam Exp $
@@ -217,6 +217,8 @@
diff -r 1515a2399c78 -r 617c10d16a4f graphics/GraphicsMagick/distinfo
--- a/graphics/GraphicsMagick/distinfo  Sun May 06 10:02:15 2018 +0000
+++ b/graphics/GraphicsMagick/distinfo  Sun May 06 10:03:33 2018 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.45 2018/01/28 15:23:52 wiz Exp $
+$NetBSD: distinfo,v 1.46 2018/05/06 10:03:33 adam Exp $
-SHA1 (GraphicsMagick-1.3.28.tar.xz) = f72a8f3f6de27990612ee3e713b2fece1ad898ac
-RMD160 (GraphicsMagick-1.3.28.tar.xz) = 1bfcf323f3965f01741a70076447c0f135faf1c3
-SHA512 (GraphicsMagick-1.3.28.tar.xz) = c372212e54e6403a44a973113764bf1fee6dde5df08a6ee015ae03c32823f96316018cafd34a355ff8a35ad3581aa7d455d30d664b9d68d3ea2ad277d7cf45e6
-Size (GraphicsMagick-1.3.28.tar.xz) = 5416660 bytes
+SHA1 (GraphicsMagick-1.3.29.tar.xz) = d6963fafaa0e0b5c3d9b112f176f9c8913edb8dd
+RMD160 (GraphicsMagick-1.3.29.tar.xz) = 59ecf7531ddb04e833923c0373ceb932b6b5900f
+SHA512 (GraphicsMagick-1.3.29.tar.xz) = c4765dfe8d971715b74a5c885c6e6e22d9330e2a0d6398a39a89a2a374d256424818b819f7f2a604f3fd9ccc46b788ac3679803aa900ef905ce1cdbebea13252
+Size (GraphicsMagick-1.3.29.tar.xz) = 5462424 bytes
 SHA1 ( = c7a38daeeccd12e19480d1222e400899da1d4153

Home | Main Index | Thread Index | Old Index