diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-04-10 04:46:15 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-04-10 04:46:15 +0000 |
commit | dcffd9797c849d7d742bbf247c4b3e23c36a4510 (patch) | |
tree | ab516766abd1d37d7ff4a48b630918ba01cb556a /media-libs/libpng/files/libpng-1.2.21-off-by-one.patch | |
parent | arm/s390/sh stable (diff) | |
download | gentoo-2-dcffd9797c849d7d742bbf247c4b3e23c36a4510.tar.gz gentoo-2-dcffd9797c849d7d742bbf247c4b3e23c36a4510.tar.bz2 gentoo-2-dcffd9797c849d7d742bbf247c4b3e23c36a4510.zip |
old
(Portage version: 2.2_pre5)
Diffstat (limited to 'media-libs/libpng/files/libpng-1.2.21-off-by-one.patch')
-rw-r--r-- | media-libs/libpng/files/libpng-1.2.21-off-by-one.patch | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/media-libs/libpng/files/libpng-1.2.21-off-by-one.patch b/media-libs/libpng/files/libpng-1.2.21-off-by-one.patch deleted file mode 100644 index 39a9534c24c4..000000000000 --- a/media-libs/libpng/files/libpng-1.2.21-off-by-one.patch +++ /dev/null @@ -1,14 +0,0 @@ -http://bugs.gentoo.org/194864 -http://sourceforge.net/mailarchive/forum.php?thread_name=47067C84.7010205%40playstation.sony.com&forum_name=png-mng-implement ---- pngset.c -+++ pngset.c -@@ -690,7 +690,8 @@ - png_warning(png_ptr, "Insufficient memory to process iCCP chunk."); - return; - } -- png_strncpy(new_iccp_name, name, png_strlen(new_iccp_name)+1); -+ png_strncpy(new_iccp_name, name, png_strlen(name)); -+ new_iccp_name[png_strlen(name)+1]=0; - new_iccp_profile = (png_charp)png_malloc_warn(png_ptr, proflen); - if (new_iccp_profile == NULL) - { |