public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-libs/libid3tag/files/0.15.1b: libid3tag-0.15.1b-fix_overflow.patch
@ 2008-05-05 13:52 Olivier Crete (tester)
  0 siblings, 0 replies; only message in thread
From: Olivier Crete (tester) @ 2008-05-05 13:52 UTC (permalink / raw
  To: gentoo-commits

tester      08/05/05 13:52:36

  Added:                libid3tag-0.15.1b-fix_overflow.patch
  Log:
  Really add patch for bug #210564
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.1                  media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-fix_overflow.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-fix_overflow.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-fix_overflow.patch?rev=1.1&content-type=text/plain

Index: libid3tag-0.15.1b-fix_overflow.patch
===================================================================
--- field.c.orig	2008-05-05 09:49:15.000000000 -0400
+++ field.c	2008-05-05 09:49:25.000000000 -0400
@@ -291,7 +291,7 @@
 
       end = *ptr + length;
 
-      while (end - *ptr > 0) {
+      while (end - *ptr > 0 && **ptr != '\0') {
 	ucs4 = id3_parse_string(ptr, end - *ptr, *encoding, 0);
 	if (ucs4 == 0)
 	  goto fail;



-- 
gentoo-commits@lists.gentoo.org mailing list



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

only message in thread, other threads:[~2008-05-05 13:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-05 13:52 [gentoo-commits] gentoo-x86 commit in media-libs/libid3tag/files/0.15.1b: libid3tag-0.15.1b-fix_overflow.patch Olivier Crete (tester)

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