summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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.patch14
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)
- {