head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.10 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.8 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.6 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.4 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.2 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q1:1.3.0.2 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.2.0.24 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.22 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.20 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.18 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.16 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.14 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.12 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.10 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.8 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.6 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.4 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.2 pkgsrc-2006Q2-base:1.2; locks; strict; comment @# @; 1.4 date 2009.05.28.08.07.50; author adam; state dead; branches; next 1.3; 1.3 date 2009.03.02.06.20.34; author kefren; state Exp; branches; next 1.2; 1.2 date 2006.05.08.22.31.12; author adam; state dead; branches 1.2.24.1; next 1.1; 1.1 date 2006.05.06.08.48.43; author adam; state Exp; branches; next ; 1.2.24.1 date 2009.03.03.19.57.53; author tron; state Exp; branches; next ; desc @@ 1.4 log @Changes 0.6.3: * Fixed a use-after-free error in the GIF reader. * Flushed the output log to display the current trial in real time. * Fixed an error in reporting unrecognized file formats. * Removed the requirement to "fix" TIFF files that contain unrecognized metadata. * Simplified the option abbreviation rules. Option names can now be abbreviated to their shortest unique prefix, as in X11 applications. @ text @$NetBSD: patch-ad,v 1.3 2009/03/02 06:20:34 kefren Exp $ diff -ru optipng-0.6.2/src/optipng.c optipng-0.6.2.1/src/optipng.c --- src/optipng.c 2008-11-09 23:56:00.000000000 -0500 +++ src/optipng.c 2008-11-11 13:57:00.000000000 -0500 @@@@ -542,6 +542,7 @@@@ static void app_init(void) { + setvbuf(stdout, NULL, _IONBF, 0); if (options.log_name != NULL) { /* Open the log file, line-buffered. */ @ 1.3 log @ Add patches from upstream in order to update to 0.6.2.1 Changes: * Fix SA34035: Use after free error that can be used to execute arbitrary code via a specially crafted GIF image @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Changes 0.5.2: * Improved handling of inexact PNM-to-PNG conversions. * Fixed a typo that was breaking the build on some Unix platforms. @ text @d1 12 a12 22 $NetBSD: patch-ad,v 1.1 2006/05/06 08:48:43 adam Exp $ --- src/strutil.c.orig 2006-04-05 09:45:00.000000000 +0200 +++ src/strutil.c @@@@ -36,7 +36,7 @@@@ int string_case_cmp(const char *str1, co ch1 = toupper(*str1++); ch2 = toupper(*str2++); if (ch1 != ch2) - return c1 - ch2; + return ch1 - ch2; if (ch1 == 0) /* no need to check if ch2 == 0 */ return 0; } @@@@ -64,7 +64,7 @@@@ int string_num_case_cmp(const char *str1 ch1 = toupper(*str1++); ch2 = toupper(*str2++); if (ch1 != ch2) - return c1 - ch2; + return ch1 - ch2; if (ch1 == 0) /* no need to check if ch2 == 0 */ return 0; } @ 1.2.24.1 log @Pullup ticket #2714 - requested by kefren optipng: security patch Revisions pulled up: - graphics/optipng/Makefile 1.17 - graphics/optipng/distinfo 1.13 - graphics/optipng/patches/patch-ab 1.5 - graphics/optipng/patches/patch-ad 1.3 - graphics/optipng/patches/patch-ae 1.1 --- Module Name: pkgsrc Committed By: kefren Date: Mon Mar 2 06:20:34 UTC 2009 Modified Files: pkgsrc/graphics/optipng: Makefile distinfo Added Files: pkgsrc/graphics/optipng/patches: patch-ab patch-ad patch-ae Log Message: Add patches from upstream in order to update to 0.6.2.1 Changes: * Fix SA34035: Use after free error that can be used to execute arbitrary code via a specially crafted GIF image @ text @d1 22 a22 12 $NetBSD$ diff -ru optipng-0.6.2/src/optipng.c optipng-0.6.2.1/src/optipng.c --- src/optipng.c 2008-11-09 23:56:00.000000000 -0500 +++ src/optipng.c 2008-11-11 13:57:00.000000000 -0500 @@@@ -542,6 +542,7 @@@@ static void app_init(void) { + setvbuf(stdout, NULL, _IONBF, 0); if (options.log_name != NULL) { /* Open the log file, line-buffered. */ @ 1.1 log @Changes 0.5.1: * Implemented bit depth reduction for palette images. * Upgraded libpng to version 1.2.10-optipng [private] * Improved the BMP support. * Added a Unix man page. * Allowed abbreviation of command-line options. * Changed user option -log to accept a file name as an argument. * Changed user option -no to -simulate. * Fixed an error in handling .bak files on Unix. * Fixed a small typo in the help screen. * Added the GUIDE and THANKS documents. * Converted some text document files to HTML. @ text @d1 1 a1 1 $NetBSD$ @