summaryrefslogtreecommitdiff
path: root/graphics/GraphicsMagick
diff options
context:
space:
mode:
authorwiz <wiz>2016-06-06 11:46:04 +0000
committerwiz <wiz>2016-06-06 11:46:04 +0000
commit2ddad9e596aafaa4989cad6fd60f2236bc84522f (patch)
treea916a415e257b90774ab308c52fcbd7653c66fc2 /graphics/GraphicsMagick
parent8f84f44ccf5e6fb1a366cabb938ec58bc6a3c8a6 (diff)
downloadpkgsrc-2ddad9e596aafaa4989cad6fd60f2236bc84522f.tar.gz
Updated GraphicsMagick to 1.3.24.
1.3.24 (May 30, 2016) ========================== .. _`GCC bug 53967` : http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53967 Special Issues: * A shell exploit (CVE-2016-5118) was discovered associated with a filename syntax where file names starting with '|' are intepreted as shell commands executed via popen(). Insufficient sanitization in the SVG and MVG renderers allows such filenames to be passed through from potentially untrusted files. There might be other ways for untrusted inputs to produce such filenames. Due to this issue, support for the feature is removed entirely. * A shell exploit was discovered associated with the gnuplot delegate and which is triggered by the 'gplt' entry in delegates.mgk. A remote exploit is possible if the attacker can cause a provided SVG or MVG file to be rendered (or the user opens a provided file). The gnuplot program must be installed in order for the exploit to be successful. It is strongly recommended to remove this entry in all delegates.mgk files. * Due to `GCC bug 53967`_, several key agorithms (e.g. convolution) may execute much faster (e.g. 2-3X) for x86-64 and/or when SSE is enabled for floating point math (`-mfpmath=sse`) if the GCC option `-frename-registers` is used. Default 32-bit builds do not experience the problem since they use '387 math. It is not clear in what version of GCC this problem started but it was not noticed by the developers until the GCC 4.6 timeframe. Other compilers do not suffer from this bug. Please lobby the GCC project to fix this embarrassing performance bug. Security Fixes: * BLOB: Remove support for reading input from a shell command, or writing output to a shell command, by prefixing the specified filename (containing the command) with a '|'. This feature provided a remote shell execution opportunity. * DIB: Fixed out of bounds reads. Added more header validations. * JNG: File size limits are enforced. * MAT: Fixed denial of service opportunity. Fix hang on corrupt deflate stream. * META: Fixed out of bounds reads and writes. * MIFF: Fixed thrown assertion. * MSL: Ignore the file extension on MSL files. It is necessary to add a "msl:" prefix to MSL files to read the as an image. * MVG: No longer assume that files ending with extension ".mvg" are MVG files. MVG parsing does more validity checking on its input. Assure that enough PrimitiveInfo structures are allocated in advance to support a given vector path (heap overflow problem). * PCX: Fixed unreasonable memory allocation due to intentionally corrupt file. * PDB: Fixed a heap buffer overflow and out of bounds read. * PICT: Fixed an out of bounds write. * PS: Ghostscript is now always run with -dSAFER for safer execution. * PSD: Fixed segmentation violations, heap buffer overflows, and out of bounds writes. * RLE: Fixed out of bounds reads and writes. * ReadImages(): Fixed a possible infinite recursion due to a crafted input file. * RotateImage(): Fixed thrown assertion. * SGI: Fixed out of bounds writes. * SUN: Fixed out of bounds reads and writes. * SVG: Fixed heap and stack buffer overflows, as well as segmentation violations (CVE-2016-2317 and CVE-2016-2318). Also fixed endless loop, unexpectedly large memory allocation, divide by zero, and recursion issues. * TIFF: Fixed an assertion while reading. Fixed benign heap overflow. * TMP: Adding a "tmp:" prefix to a filename no longer removes the file since this seems dangerous. * VIFF: Fix excessive memory allocation with intentionally corrupted input file. * XCF: Fixed a heap buffer overflow. * XPM: Fixed several heap buffer overflows, and out of bound reads/writes. Also fixed a case of excessive memory allocation. * delegate.mgk: The default delegate.mgk file has been pared down in order to reduce security exposure. * gnuplot ('gplt' delegate in delegates.mgk): Support for rendering gnuplot files is removed since the format is inherently insecure. * File names: File names starting with a '|' character are no longer interpreted as shell commands to be executed as input or output. Bug fixes: * BMP: Fix reading 24-bit Microsoft BMP which claims to have a colormap. * FILE: `file://` URLs are properly supported now (they never worked before). * JP2: It is now possible to write lossless JPEG 2000 "JP2" format. * SVG: Support font-size "medium". New Features: * Blob I/O C APIs: Added signed versions of short and long Read/Write functions. * FILE: `file://` URLs are properly supported now (they never worked before). * MAT: Matlab V4 is now partially supported. * Magick++: Added double-precision xResolution() and yResolution() methods to support setting the horizontal and vertical resolution with double floating point precision. * Mogrify now supports a -preserve-timestamp option to preserve file access and modification timestamps. Feature improvements: Windows Delegate Updates/Additions: * Updated bundled libpng to release 1.6.19. * Updated bundled libwebp to release 0.4.4. * Update bundled libxml2 to release 2.9.3. * Update bundled freetype to release 2.6.2. Build Changes: * Added ``--enable-broken-coders`` configure option to enable file format support which may be broken or cause security issues. The PSD format is now classified as "broken" (until it is fixed). Behavior Changes: * PSD format is not included in the build by default. * Files ending with ".mvg" and ".msl" are not assumed to be image files by default. * File names starting with '|' are no longer treated as shell commands. * Gnuplot and POV delegate support is removed from the default delegate.mgk file.
Diffstat (limited to 'graphics/GraphicsMagick')
-rw-r--r--graphics/GraphicsMagick/Makefile3
-rwxr-xr-xgraphics/GraphicsMagick/Makefile.common4
-rw-r--r--graphics/GraphicsMagick/PLIST6
-rw-r--r--graphics/GraphicsMagick/distinfo11
4 files changed, 13 insertions, 11 deletions
diff --git a/graphics/GraphicsMagick/Makefile b/graphics/GraphicsMagick/Makefile
index dc624278abd..529cedf90fb 100644
--- a/graphics/GraphicsMagick/Makefile
+++ b/graphics/GraphicsMagick/Makefile
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.75 2016/03/05 11:27:47 jperkin Exp $
+# $NetBSD: Makefile,v 1.76 2016/06/06 11:46:04 wiz Exp $
-PKGREVISION= 3
.include "Makefile.common"
MAINTAINER= pkgsrc-users@NetBSD.org
diff --git a/graphics/GraphicsMagick/Makefile.common b/graphics/GraphicsMagick/Makefile.common
index e2d8c3b6632..3b8a2f2002d 100755
--- a/graphics/GraphicsMagick/Makefile.common
+++ b/graphics/GraphicsMagick/Makefile.common
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.13 2015/11/17 20:05:48 adam Exp $
+# $NetBSD: Makefile.common,v 1.14 2016/06/06 11:46:04 wiz Exp $
# used by graphics/GraphicsMagick/Makefile
# used by graphics/p5-GraphicsMagick/Makefile
GM_MAJOR_VER= 1.3
-GM_MINOR_VER= 23
+GM_MINOR_VER= 24
DISTVERSION= ${GM_MAJOR_VER}.${GM_MINOR_VER}
DISTNAME= GraphicsMagick-${DISTVERSION}
CATEGORIES= graphics
diff --git a/graphics/GraphicsMagick/PLIST b/graphics/GraphicsMagick/PLIST
index 7dc272de8e7..bed576d295e 100644
--- a/graphics/GraphicsMagick/PLIST
+++ b/graphics/GraphicsMagick/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.22 2015/12/13 07:13:36 richard Exp $
+@comment $NetBSD: PLIST,v 1.23 2016/06/06 11:46:04 wiz Exp $
bin/GraphicsMagick++-config
bin/GraphicsMagick-config
bin/GraphicsMagickWand-config
@@ -151,7 +151,6 @@ lib/${PKGNAME}/modules-Q8/coders/preview.la
lib/${PKGNAME}/modules-Q8/coders/ps.la
lib/${PKGNAME}/modules-Q8/coders/ps2.la
lib/${PKGNAME}/modules-Q8/coders/ps3.la
-lib/${PKGNAME}/modules-Q8/coders/psd.la
lib/${PKGNAME}/modules-Q8/coders/pwp.la
lib/${PKGNAME}/modules-Q8/coders/rgb.la
lib/${PKGNAME}/modules-Q8/coders/rla.la
@@ -216,6 +215,8 @@ share/doc/GraphicsMagick/ChangeLog.2010
share/doc/GraphicsMagick/ChangeLog.2011
share/doc/GraphicsMagick/ChangeLog.2012
share/doc/GraphicsMagick/ChangeLog.2013
+share/doc/GraphicsMagick/ChangeLog.2014
+share/doc/GraphicsMagick/ChangeLog.2015
share/doc/GraphicsMagick/Copyright.txt
share/doc/GraphicsMagick/NEWS.txt
share/doc/GraphicsMagick/www/ChangeLog-2001.html
@@ -232,6 +233,7 @@ share/doc/GraphicsMagick/www/ChangeLog-2011.html
share/doc/GraphicsMagick/www/ChangeLog-2012.html
share/doc/GraphicsMagick/www/ChangeLog-2013.html
share/doc/GraphicsMagick/www/ChangeLog-2014.html
+share/doc/GraphicsMagick/www/ChangeLog-2015.html
share/doc/GraphicsMagick/www/Changelog.html
share/doc/GraphicsMagick/www/Changes.html
share/doc/GraphicsMagick/www/Copyright.html
diff --git a/graphics/GraphicsMagick/distinfo b/graphics/GraphicsMagick/distinfo
index 5220e7ceea9..8bb02f39fa7 100644
--- a/graphics/GraphicsMagick/distinfo
+++ b/graphics/GraphicsMagick/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.40 2015/11/17 20:05:48 adam Exp $
+$NetBSD: distinfo,v 1.41 2016/06/06 11:46:04 wiz Exp $
-SHA1 (GraphicsMagick-1.3.23.tar.xz) = 9075a6030d305d675847cbd6755c0c2318623854
-RMD160 (GraphicsMagick-1.3.23.tar.xz) = 50d880e54156fa293a7a4d7c5ff8df55f622a6cc
-SHA512 (GraphicsMagick-1.3.23.tar.xz) = 40f0a2d96ea568cc6e52ae0003c2ad393b2cffc6eabb85db78cb22af00eafec3fa1e64ebb26eed4a271f7a54c35c3b985e99a3d0b404fd025f4dba156856c99a
-Size (GraphicsMagick-1.3.23.tar.xz) = 5355200 bytes
+SHA1 (GraphicsMagick-1.3.24.tar.xz) = 4f208b7bda9f139ca22d9921758452bb9915334e
+RMD160 (GraphicsMagick-1.3.24.tar.xz) = 1670b2d5712cdff2010d2936ad427977195bfaa2
+SHA512 (GraphicsMagick-1.3.24.tar.xz) = d55f8b7d96bc746e2b501ec6315f174f2ab5f6b31a1d138196bf17b506e6d0c2b91ee19f5dd0a2877cd47910aebdcf11158303e90b1b267c6082d462f8548684
+Size (GraphicsMagick-1.3.24.tar.xz) = 5372048 bytes
+SHA1 (patch-config_delegates.mgk.in) = c7a38daeeccd12e19480d1222e400899da1d4153