Magellan Linux

Contents of /trunk/xine-lib/patches/xine-lib-1.1.4-CVE-2007-1246.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (show annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years ago) by niro
File size: 1304 byte(s)
-import

1 ? default
2 ? enterprise
3 ? prakesh
4 Index: src/libw32dll/DirectShow/DS_VideoDecoder.c
5 ===================================================================
6 RCS file: /cvsroot/xine/xine-lib/src/libw32dll/DirectShow/DS_VideoDecoder.c,v
7 retrieving revision 1.9
8 diff -u -B -r1.9 DS_VideoDecoder.c
9 --- src/libw32dll/DirectShow/DS_VideoDecoder.c 24 Dec 2003 16:55:36 -0000 1.9
10 +++ src/libw32dll/DirectShow/DS_VideoDecoder.c 10 Mar 2007 00:33:41 -0000
11 @@ -110,6 +110,7 @@
12
13 this->iv.m_bh = (BITMAPINFOHEADER*)malloc(bihs);
14 memcpy(this->iv.m_bh, format, bihs);
15 + this->iv.m_bh->biSize = bihs;
16
17 this->iv.m_State = STOP;
18 //this->iv.m_pFrame = 0;
19 Index: src/libw32dll/dmo/DMO_VideoDecoder.c
20 ===================================================================
21 RCS file: /cvsroot/xine/xine-lib/src/libw32dll/dmo/DMO_VideoDecoder.c,v
22 retrieving revision 1.4
23 diff -u -B -r1.4 DMO_VideoDecoder.c
24 --- src/libw32dll/dmo/DMO_VideoDecoder.c 24 Dec 2003 16:55:36 -0000 1.4
25 +++ src/libw32dll/dmo/DMO_VideoDecoder.c 10 Mar 2007 00:33:41 -0000
26 @@ -118,6 +118,7 @@
27
28 this->iv.m_bh = (BITMAPINFOHEADER*)malloc(bihs);
29 memcpy(this->iv.m_bh, format, bihs);
30 + this->iv.m_bh->biSize = bihs;
31
32 this->iv.m_State = STOP;
33 //this->iv.m_pFrame = 0;