Gentoo Archives: gentoo-commits

From: "Samuli Suominen (drac)" <drac@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/vorbis-tools/files: vorbis-tools-1.2.0-sec.patch
Date: Mon, 14 Apr 2008 13:54:02
Message-Id: E1JlP8B-0007Ua-D3@stork.gentoo.org
1 drac 08/04/14 13:53:59
2
3 Added: vorbis-tools-1.2.0-sec.patch
4 Log:
5 Fix for security #217603.
6 (Portage version: 2.1.5_rc3)
7
8 Revision Changes Path
9 1.1 media-sound/vorbis-tools/files/vorbis-tools-1.2.0-sec.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/vorbis-tools/files/vorbis-tools-1.2.0-sec.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/vorbis-tools/files/vorbis-tools-1.2.0-sec.patch?rev=1.1&content-type=text/plain
13
14 Index: vorbis-tools-1.2.0-sec.patch
15 ===================================================================
16 diff -ur vorbis-tools-1.2.0.orig/ogg123/speex_format.c vorbis-tools-1.2.0/ogg123/speex_format.c
17 --- vorbis-tools-1.2.0.orig/ogg123/speex_format.c 2008-03-03 07:37:26.000000000 +0200
18 +++ vorbis-tools-1.2.0/ogg123/speex_format.c 2008-04-14 16:47:22.000000000 +0300
19 @@ -475,7 +475,7 @@
20 cb->printf_error(callback_arg, ERROR, _("Cannot read header"));
21 return NULL;
22 }
23 - if ((*header)->mode >= SPEEX_NB_MODES) {
24 + if ((*header)->mode >= SPEEX_NB_MODES || (*header)->mode < 0) {
25 cb->printf_error(callback_arg, ERROR,
26 _("Mode number %d does not (any longer) exist in this version"),
27 (*header)->mode);
28
29
30
31 --
32 gentoo-commits@l.g.o mailing list