head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.4 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.2 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.5.0.2 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q2:1.4.0.26 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.24 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.22 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.20 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.18 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.16 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.14 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.12 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.10 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.8 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.6 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.4 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.2 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.3.0.2 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.2.0.20 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.18 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.16 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.14 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.12 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.10 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.8 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.6 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 buildlink2-base:1.2; locks; strict; comment @# @; 1.6 date 2012.02.04.21.10.45; author adam; state dead; branches; next 1.5; 1.5 date 2011.11.07.17.59.47; author drochner; state Exp; branches; next 1.4; 1.4 date 2006.07.10.22.07.48; author adam; state dead; branches; next 1.3; 1.3 date 2006.06.26.21.12.53; author wiz; state Exp; branches 1.3.2.1; next 1.2; 1.2 date 98.04.15.20.48.13; author tron; state dead; branches; next 1.1; 1.1 date 98.02.03.10.17.09; author tron; state Exp; branches; next ; 1.3.2.1 date 2006.08.01.15.10.50; author salo; state dead; branches; next ; desc @@ 1.6 log @Changes 2.6.12: Bug fixes: * GIMP 2.6.10 segfaults when CTRL-left click on a layer mask * GIMP fails to import a path from SVG * Crash or Gtk-CRITICAL on File->Open * [abrt] gimp-2:2.6.11-1.fc14: py-slice.py:172:slice:TypeError: integer argument expected, got float * gimp(1) manpage fixes * Sample Colorize does not function non-interactively * file-pdf-load: Don't use deprecated API * file-psp: fix for bogus input data * Fixes for some buffer overflow problems * Guard against crash due to quitting while DND is processed * fails to build with -Werror=format-security * script-fu: make server IPv6 aware @ text @$NetBSD: patch-ag,v 1.5 2011/11/07 17:59:47 drochner Exp $ CVE-2011-2896 --- plug-ins/common/file-gif-load.c.orig 2010-07-02 22:51:56.000000000 +0000 +++ plug-ins/common/file-gif-load.c @@@@ -697,7 +697,8 @@@@ LZWReadByte (FILE *fd, static gint firstcode, oldcode; static gint clear_code, end_code; static gint table[2][(1 << MAX_LZW_BITS)]; - static gint stack[(1 << (MAX_LZW_BITS)) * 2], *sp; +#define STACK_SIZE ((1 << (MAX_LZW_BITS)) * 2) + static gint stack[STACK_SIZE], *sp; gint i; if (just_reset_LZW) @@@@ -772,7 +773,7 @@@@ LZWReadByte (FILE *fd, return firstcode; } - else if (code == end_code) + else if (code == end_code || code > max_code) { gint count; guchar buf[260]; @@@@ -791,13 +792,14 @@@@ LZWReadByte (FILE *fd, incode = code; - if (code >= max_code) + if (code == max_code) { - *sp++ = firstcode; + if (sp < &(stack[STACK_SIZE])) + *sp++ = firstcode; code = oldcode; } - while (code >= clear_code) + while (code >= clear_code && sp < &(stack[STACK_SIZE])) { *sp++ = table[1][code]; if (code == table[0][code]) @@@@ -808,7 +810,8 @@@@ LZWReadByte (FILE *fd, code = table[0][code]; } - *sp++ = firstcode = table[1][code]; + if (sp < &(stack[STACK_SIZE])) + *sp++ = firstcode = table[1][code]; if ((code = max_code) < (1 << MAX_LZW_BITS)) { @ 1.5 log @add patch from upstream to fix possible buffer overflow in LZW decoder by invalid GIF file (CVE-2011-2896) bump PKGREV @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Changes 2.2.12: - fixed display problem in the Animation Playback plug-in - fixed misbehaviour of the user installation dialog - make sure that session-managed windows are mapped completely inside a monitor - don't use long deprecated libpng API - fixed possible segfault when closing image while saving it - halt tools when the image mode changes - fixed problem in Scale and Resize widgets - fixed wrong offset in transform PDB functions - fixed bugs in the Dicom load plug-in - make sure text widgets get all key events first - fixed problems with default values in the PNG save plug-in - fixed Save As dialog not displaying the filename - fixed compilation problem with gcc 4.1 - plugged a possible buffer overrun in the XCF parser - don't save image parasites twice in XCF files @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.3 2006/06/26 21:12:53 wiz Exp $ d3 51 a53 10 --- app/composite/gimp-composite-mmx-installer.c.orig 2006-04-13 11:20:13.000000000 +0000 +++ app/composite/gimp-composite-mmx-installer.c @@@@ -25,7 +25,6 @@@@ static struct install_table { { GIMP_COMPOSITE_SUBTRACT, GIMP_PIXELFORMAT_RGBA8, GIMP_PIXELFORMAT_RGBA8, GIMP_PIXELFORMAT_RGBA8, gimp_composite_subtract_rgba8_rgba8_rgba8_mmx }, { GIMP_COMPOSITE_DARKEN, GIMP_PIXELFORMAT_RGBA8, GIMP_PIXELFORMAT_RGBA8, GIMP_PIXELFORMAT_RGBA8, gimp_composite_darken_rgba8_rgba8_rgba8_mmx }, { GIMP_COMPOSITE_LIGHTEN, GIMP_PIXELFORMAT_RGBA8, GIMP_PIXELFORMAT_RGBA8, GIMP_PIXELFORMAT_RGBA8, gimp_composite_lighten_rgba8_rgba8_rgba8_mmx }, - { GIMP_COMPOSITE_BURN, GIMP_PIXELFORMAT_RGBA8, GIMP_PIXELFORMAT_RGBA8, GIMP_PIXELFORMAT_RGBA8, gimp_composite_burn_rgba8_rgba8_rgba8_mmx }, { GIMP_COMPOSITE_GRAIN_EXTRACT, GIMP_PIXELFORMAT_RGBA8, GIMP_PIXELFORMAT_RGBA8, GIMP_PIXELFORMAT_RGBA8, gimp_composite_grain_extract_rgba8_rgba8_rgba8_mmx }, { GIMP_COMPOSITE_GRAIN_MERGE, GIMP_PIXELFORMAT_RGBA8, GIMP_PIXELFORMAT_RGBA8, GIMP_PIXELFORMAT_RGBA8, gimp_composite_grain_merge_rgba8_rgba8_rgba8_mmx }, { GIMP_COMPOSITE_SWAP, GIMP_PIXELFORMAT_RGBA8, GIMP_PIXELFORMAT_RGBA8, GIMP_PIXELFORMAT_RGBA8, gimp_composite_swap_rgba8_rgba8_rgba8_mmx }, @ 1.3 log @Fix build with gcc4, mirroring changes in gimp-2.3.9. @ text @d1 1 a1 1 $NetBSD$ @ 1.3.2.1 log @Pullup ticket 1768 - requested by ghen security update for gimp Revisions pulled up: - pkgsrc/graphics/gimp/Makefile 1.143 - pkgsrc/graphics/gimp/PLIST 1.25 - pkgsrc/graphics/gimp/buildlink3.mk 1.13 - pkgsrc/graphics/gimp/distinfo 1.30 - pkgsrc/graphics/gimp/patches/patch-aa 1.16 - pkgsrc/graphics/gimp/patches/patch-ab 1.17 - pkgsrc/graphics/gimp/patches/patch-ac removed - pkgsrc/graphics/gimp/patches/patch-ae removed - pkgsrc/graphics/gimp/patches/patch-af removed - pkgsrc/graphics/gimp/patches/patch-ag removed - pkgsrc/graphics/gimp/patches/patch-ah removed Module Name: pkgsrc Committed By: adam Date: Mon Jul 10 22:06:32 UTC 2006 Modified Files: pkgsrc/graphics/gimp: Makefile PLIST buildlink3.mk distinfo pkgsrc/graphics/gimp/patches: patch-aa patch-ab Removed Files: pkgsrc/graphics/gimp/patches: patch-ae patch-ac patch-af patch-ag patch-ah Log Message: Changes 2.2.12: - fixed display problem in the Animation Playback plug-in - fixed misbehaviour of the user installation dialog - make sure that session-managed windows are mapped completely inside a monitor - don't use long deprecated libpng API - fixed possible segfault when closing image while saving it - halt tools when the image mode changes - fixed problem in Scale and Resize widgets - fixed wrong offset in transform PDB functions - fixed bugs in the Dicom load plug-in - make sure text widgets get all key events first - fixed problems with default values in the PNG save plug-in - fixed Save As dialog not displaying the filename - fixed compilation problem with gcc 4.1 - plugged a possible buffer overrun in the XCF parser - don't save image parasites twice in XCF files @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.3 2006/06/26 21:12:53 wiz Exp $ @ 1.2 log @Update to "gimp-0.99.26" using changes supplied by Bernd Sieker. @ text @d1 12 a12 15 --- plug-ins/mail/mail.c.orig Mon Nov 24 23:04:27 1997 +++ plug-ins/mail/mail.c Mon Feb 2 22:10:46 1998 @@@@ -88,9 +88,9 @@@@ * As always: The utility of this plugin is left as an exercise for the reader * */ -#ifndef MAILER -#define MAILER "/usr/lib/sendmail" -#endif + +#include +#define MAILER _PATH_SENDMAIL #ifndef UUENCODE #define UUENCODE "uuencode" @ 1.1 log @Initial import of gimp-0.99.18 package made by Bernd Sieker. @ text @@