public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-libs/libpng/files: libpng-1.2.21-off-by-one.patch digest-libpng-1.2.21-r1
@ 2007-10-06 14:05 Mike Frysinger (vapier)
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2007-10-06 14:05 UTC (permalink / raw
  To: gentoo-commits

vapier      07/10/06 14:05:08

  Added:                libpng-1.2.21-off-by-one.patch
                        digest-libpng-1.2.21-r1
  Log:
  Fix from upstream for memory overflow #194864 by teidakankan and Peter Henriksson.
  (Portage version: 2.1.3.11)

Revision  Changes    Path
1.1                  media-libs/libpng/files/libpng-1.2.21-off-by-one.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libpng/files/libpng-1.2.21-off-by-one.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libpng/files/libpng-1.2.21-off-by-one.patch?rev=1.1&content-type=text/plain

Index: libpng-1.2.21-off-by-one.patch
===================================================================
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,7 @@
       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(new_iccp_name));
    new_iccp_profile = (png_charp)png_malloc_warn(png_ptr, proflen);
    if (new_iccp_profile == NULL)
    {



1.1                  media-libs/libpng/files/digest-libpng-1.2.21-r1

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libpng/files/digest-libpng-1.2.21-r1?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libpng/files/digest-libpng-1.2.21-r1?rev=1.1&content-type=text/plain

Index: digest-libpng-1.2.21-r1
===================================================================
MD5 b0cda5e10e8165e5f151e674e1a67983 libpng-1.2.21.tar.bz2 614352
RMD160 2738cb7cebe19184a0ffefe31c49e570b0791049 libpng-1.2.21.tar.bz2 614352
SHA256 3b4f186e5dd1e683178d58d45db16f4fd9203f6518037ff28b4505ec35246953 libpng-1.2.21.tar.bz2 614352
MD5 1518ec4b873f2c61a7d32ad867b67b17 libpng-manual.txt 128284
RMD160 f019974f931327e6d9d332d306e07dce71ff031b libpng-manual.txt 128284
SHA256 0cc3a25643024807672e5df255332cb63c902cea333246f4a5ab48c682c3297a libpng-manual.txt 128284



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-06 14:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-06 14:05 [gentoo-commits] gentoo-x86 commit in media-libs/libpng/files: libpng-1.2.21-off-by-one.patch digest-libpng-1.2.21-r1 Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox