diff options
author | Alex Dupre <ale@FreeBSD.org> | 2016-10-21 09:02:18 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2016-10-21 09:02:18 +0000 |
commit | 87c695efe2df4013039f48e2871d205bcc164d0f (patch) | |
tree | 22418e16977eab8b6d6af0821ea2c9b243ff9dc3 /graphics/php56-gd | |
parent | ae8f325c44b5160be4cf55a7f3fa161a44a71fb1 (diff) |
Notes
Diffstat (limited to 'graphics/php56-gd')
-rw-r--r-- | graphics/php56-gd/Makefile | 1 | ||||
-rw-r--r-- | graphics/php56-gd/files/patch-libgd_gd_webp.c | 18 |
2 files changed, 0 insertions, 19 deletions
diff --git a/graphics/php56-gd/Makefile b/graphics/php56-gd/Makefile index 648dbb62ebb0..4746215748f7 100644 --- a/graphics/php56-gd/Makefile +++ b/graphics/php56-gd/Makefile @@ -1,7 +1,6 @@ # Created by: Alex Dupre <ale@FreeBSD.org> # $FreeBSD$ -PORTREVISION= 2 CATEGORIES= graphics MASTERDIR= ${.CURDIR}/../../lang/php56 diff --git a/graphics/php56-gd/files/patch-libgd_gd_webp.c b/graphics/php56-gd/files/patch-libgd_gd_webp.c deleted file mode 100644 index b0c1419e022b..000000000000 --- a/graphics/php56-gd/files/patch-libgd_gd_webp.c +++ /dev/null @@ -1,18 +0,0 @@ ---- libgd/gd_webp.c.orig 2016-09-28 10:07:06.092196000 +0200 -+++ libgd/gd_webp.c 2016-09-28 10:08:12.429030000 +0200 -@@ -180,6 +180,15 @@ void gdImageWebpCtx (gdImagePtr im, gdIO - /* Conversion to Y,U,V buffer */ - yuv_width = (width + 1) >> 1; - yuv_height = (height + 1) >> 1; -+ -+ if (overflow2(width, height)) { -+ return; -+ } -+ /* simplification possible, because WebP must not be larger than 16384**2 */ -+ if (overflow2(width * height, 2 * sizeof(unsigned char))) { -+ return; -+ } -+ - yuv_nbytes = width * height + 2 * yuv_width * yuv_height; - - if ((Y = (unsigned char *)gdCalloc(yuv_nbytes, sizeof(unsigned char))) == NULL) { |