summaryrefslogtreecommitdiff
path: root/graphics/imlib2/patches/patch-cd
diff options
context:
space:
mode:
authordrochner <drochner>2007-09-18 19:18:10 +0000
committerdrochner <drochner>2007-09-18 19:18:10 +0000
commit87bd851d3aaa4515025f8e0426e58fb924ae9a6f (patch)
treea558a6abe13766952d4cec0ca9b0bbc4374bf80f /graphics/imlib2/patches/patch-cd
parent1d30d249d33094bccd7ce9ddcd6073c69062a98b (diff)
downloadpkgsrc-87bd851d3aaa4515025f8e0426e58fb924ae9a6f.tar.gz
update to 1.4.0
changes: security fixes, and a few crashes fixed
Diffstat (limited to 'graphics/imlib2/patches/patch-cd')
-rw-r--r--graphics/imlib2/patches/patch-cd18
1 files changed, 0 insertions, 18 deletions
diff --git a/graphics/imlib2/patches/patch-cd b/graphics/imlib2/patches/patch-cd
deleted file mode 100644
index 5ce10df7dba..00000000000
--- a/graphics/imlib2/patches/patch-cd
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-cd,v 1.1 2006/11/24 12:46:12 drochner Exp $
-
---- src/modules/loaders/loader_png.c.orig 2006-09-05 02:37:07.000000000 +0200
-+++ src/modules/loaders/loader_png.c
-@@ -83,6 +83,13 @@ load(ImlibImage * im, ImlibProgressFunct
- png_get_IHDR(png_ptr, info_ptr, (png_uint_32 *) (&w32),
- (png_uint_32 *) (&h32), &bit_depth, &color_type,
- &interlace_type, NULL, NULL);
-+ if (w32 < 1 || h32 < 1 || w32 > 16383 || h32 > 16383)
-+ {
-+ png_read_end(png_ptr, info_ptr);
-+ png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp) NULL);
-+ fclose(f);
-+ return 0;
-+ }
- im->w = (int)w32;
- im->h = (int)h32;
- if (color_type == PNG_COLOR_TYPE_PALETTE)