FreeBSD Bugzilla – Attachment 189482 Details for
Bug 224960
graphics/optipng: update to 0.7.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to update optipng to 0.7.7
graphics_optipng.diff (text/plain), 2.08 KB, created by
Vidar Karlsen
on 2018-01-06 23:59:23 UTC
(
hide
)
Description:
Patch to update optipng to 0.7.7
Filename:
MIME Type:
Creator:
Vidar Karlsen
Created:
2018-01-06 23:59:23 UTC
Size:
2.08 KB
patch
obsolete
>Index: graphics/optipng/Makefile >=================================================================== >--- graphics/optipng/Makefile (revision 458301) >+++ graphics/optipng/Makefile (working copy) >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= optipng >-PORTVERSION= 0.7.6 >+PORTVERSION= 0.7.7 > CATEGORIES= graphics > MASTER_SITES= SF/${PORTNAME}/OptiPNG/${PORTNAME}-${PORTVERSION} > >Index: graphics/optipng/distinfo >=================================================================== >--- graphics/optipng/distinfo (revision 458301) >+++ graphics/optipng/distinfo (working copy) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1486685228 >-SHA256 (optipng-0.7.6.tar.gz) = 4870631fcbd3825605f00a168b8debf44ea1cda8ef98a73e5411eee97199be80 >-SIZE (optipng-0.7.6.tar.gz) = 2202237 >+TIMESTAMP = 1515280833 >+SHA256 (optipng-0.7.7.tar.gz) = 4f32f233cef870b3f95d3ad6428bfe4224ef34908f1b42b0badf858216654452 >+SIZE (optipng-0.7.7.tar.gz) = 2329555 >Index: graphics/optipng/files/patch-src_pngxtern_pngxmem.c >=================================================================== >--- graphics/optipng/files/patch-src_pngxtern_pngxmem.c (revision 458301) >+++ graphics/optipng/files/patch-src_pngxtern_pngxmem.c (working copy) >@@ -1,11 +1,11 @@ >---- src/pngxtern/pngxmem.c.orig 2015-04-22 09:07:30 UTC >+--- src/pngxtern/pngxmem.c.orig 2018-01-06 23:22:33 UTC > +++ src/pngxtern/pngxmem.c >-@@ -34,7 +34,7 @@ pngx_malloc_rows_extended(png_structp pn >- png_error(png_ptr, "Missing IHDR"); >+@@ -35,7 +35,7 @@ pngx_malloc_rows_extended(png_structp pn > row_size = png_get_rowbytes(png_ptr, info_ptr); > /* libpng sets row_size to 0 when the width is too large to process. */ >-- if (row_size == 0 || height > (pngx_alloc_size_t)(-1) / sizeof(png_bytep)) >-+ if (row_size == 0 || height > (pngx_alloc_size_t)(-1U) / sizeof(png_bytep)) >+ if (row_size == 0 || >+- (pngx_alloc_size_t)height > (pngx_alloc_size_t)(-1) / sizeof(png_bytep)) >++ (pngx_alloc_size_t)height > (pngx_alloc_size_t)(-1U) / sizeof(png_bytep)) > png_error(png_ptr, "Can't handle exceedingly large image dimensions"); > if (row_size < min_row_size) > row_size = min_row_size;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 224960
: 189482