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-plugins/gst-plugins-speex/files: gst-plugins-speex-0.10.7-sec.patch
Date: Mon, 14 Apr 2008 17:08:40
Message-Id: E1JlSAY-0000Pt-FO@stork.gentoo.org
1 drac 08/04/14 17:08:38
2
3 Added: gst-plugins-speex-0.10.7-sec.patch
4 Log:
5 Fix for security #217609.
6 (Portage version: 2.1.5_rc3)
7
8 Revision Changes Path
9 1.1 media-plugins/gst-plugins-speex/files/gst-plugins-speex-0.10.7-sec.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/gst-plugins-speex/files/gst-plugins-speex-0.10.7-sec.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/gst-plugins-speex/files/gst-plugins-speex-0.10.7-sec.patch?rev=1.1&content-type=text/plain
13
14 Index: gst-plugins-speex-0.10.7-sec.patch
15 ===================================================================
16 diff -ur gst-plugins-good-0.10.7.orig/ext/speex/gstspeexdec.c gst-plugins-good-0.10.7/ext/speex/gstspeexdec.c
17 --- gst-plugins-good-0.10.7.orig/ext/speex/gstspeexdec.c 2007-05-26 18:25:18.000000000 +0300
18 +++ gst-plugins-good-0.10.7/ext/speex/gstspeexdec.c 2008-04-14 20:02:41.000000000 +0300
19 @@ -507,7 +507,7 @@
20 if (!dec->header)
21 goto no_header;
22
23 - if (dec->header->mode >= SPEEX_NB_MODES)
24 + if (dec->header->mode >= SPEEX_NB_MODES || dec->header->mode < 0)
25 goto mode_too_old;
26
27 dec->mode = (SpeexMode *) speex_mode_list[dec->header->mode];
28
29
30
31 --
32 gentoo-commits@l.g.o mailing list