/[packages]/updates/4/vlc/current/SOURCES/vlc-2.1-CVE-2015-5949.patch
ViewVC logotype

Contents of /updates/4/vlc/current/SOURCES/vlc-2.1-CVE-2015-5949.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 868137 - (show annotations) (download)
Sat Aug 22 14:56:39 2015 UTC (8 years, 8 months ago) by ycantin
File size: 1017 byte(s)
- Applied upstream patches to fix CVE-2015-5949 (mga#16631)
1 From ce91452460a75d7424b165c4dc8db98114c3cbd9 Mon Sep 17 00:00:00 2001
2 From: Francois Cartegnie <fcartegnie@free.fr>
3 Date: Mon, 3 Aug 2015 15:17:32 +0200
4 Subject: [PATCH 1/1] demux: mp4: correctly match release function
5
6 Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 ---
8 modules/demux/mp4/libmp4.c | 5 +++++
9 1 file changed, 5 insertions(+)
10
11 diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
12 index 331262b..f220e51 100644
13 --- a/modules/demux/mp4/libmp4.c
14 +++ b/modules/demux/mp4/libmp4.c
15 @@ -3643,6 +3643,11 @@ void MP4_BoxFree( stream_t *s, MP4_Box_t *p_box )
16 {
17 for( i_index = 0; ; i_index++ )
18 {
19 + if ( MP4_Box_Function[i_index].i_parent &&
20 + p_box->p_father &&
21 + p_box->p_father->i_type != MP4_Box_Function[i_index].i_parent )
22 + continue;
23 +
24 if( ( MP4_Box_Function[i_index].i_type == p_box->i_type )||
25 ( MP4_Box_Function[i_index].i_type == 0 ) )
26 {
27 --
28 1.7.10.4
29

  ViewVC Help
Powered by ViewVC 1.1.30