From: | "Olivier Crete (tester)" <tester@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/libid3tag/files/0.15.1b: libid3tag-0.15.1b-fix_overflow.patch |
Date: | Mon, 05 May 2008 13:52:38 |
Message-Id: | E1Jt17M-0003ZH-GI@stork.gentoo.org |
1 | tester 08/05/05 13:52:36 |
2 | |
3 | Added: libid3tag-0.15.1b-fix_overflow.patch |
4 | Log: |
5 | Really add patch for bug #210564 |
6 | (Portage version: 2.1.4.4) |
7 | |
8 | Revision Changes Path |
9 | 1.1 media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-fix_overflow.patch |
10 | |
11 | 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 |
12 | 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 |
13 | |
14 | Index: libid3tag-0.15.1b-fix_overflow.patch |
15 | =================================================================== |
16 | --- field.c.orig 2008-05-05 09:49:15.000000000 -0400 |
17 | +++ field.c 2008-05-05 09:49:25.000000000 -0400 |
18 | @@ -291,7 +291,7 @@ |
19 | |
20 | end = *ptr + length; |
21 | |
22 | - while (end - *ptr > 0) { |
23 | + while (end - *ptr > 0 && **ptr != '\0') { |
24 | ucs4 = id3_parse_string(ptr, end - *ptr, *encoding, 0); |
25 | if (ucs4 == 0) |
26 | goto fail; |
27 | |
28 | |
29 | |
30 | -- |
31 | gentoo-commits@l.g.o mailing list |