Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=b4e955aba0b0e4763ef6ce02950a5d0e9240b0ed

commit b4e955aba0b0e4763ef6ce02950a5d0e9240b0ed
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Sun Mar 30 15:04:20 2008 +0200

mplayer-1.0rc2-4-i686
- added CVE-2008-0073.diff
- closes #2913

diff --git a/source/xapps/mplayer/CVE-2008-0073.diff 
b/source/xapps/mplayer/CVE-2008-0073.diff
new file mode 100644
index 0000000..ff7c6c8
--- /dev/null
+++ b/source/xapps/mplayer/CVE-2008-0073.diff
@@ -0,0 +1,14 @@
+Index: stream/realrtsp/sdpplin.c
+===================================================================
+--- stream/realrtsp/sdpplin.c  (revision 26295)
++++ stream/realrtsp/sdpplin.c  (working copy)
+@@ -330,7 +330,8 @@
+
+     if(filter(data,"a=StreamCount:integer;",&buf)) {
+       desc->stream_count=(unsigned int)atoi(buf);
+-      desc->stream=malloc(sizeof(sdpplin_stream_t*)*desc->stream_count);
++      desc->stream=calloc(desc->stream_count, sizeof(sdpplin_stream_t*));
++      if (!desc->stream) desc->stream_count = 0;
+       handled=1;
+       data=nl(data);
+     }
diff --git a/source/xapps/mplayer/FrugalBuild b/source/xapps/mplayer/FrugalBuild
index bcc00ee..ceeb512 100644
--- a/source/xapps/mplayer/FrugalBuild
+++ b/source/xapps/mplayer/FrugalBuild
@@ -5,7 +5,7 @@ pkgname=mplayer
_F_archive_name=MPlayer
pkgver=1.0rc2
pkgextraver=
-pkgrel=3
+pkgrel=4
pkgdesc="The Movie Player"
url="http://www.mplayerhq.hu/";
depends=('mesa' 'fontconfig' 'libstdc++' 'libdv' 'termcap' 'libjpeg' 'libmad' \
@@ -27,7 +27,8 @@ 
source=(http://www.mplayerhq.hu/MPlayer/releases/$_F_archive_name-$pkgver$pkgext
http://www.mplayerhq.hu/MPlayer/patches/url_fix_20080120.diff \
http://www.mplayerhq.hu/MPlayer/patches/demux_mov_fix_20080129.diff \
http://www.mplayerhq.hu/MPlayer/patches/demux_audio_fix_20080129.diff \
-       http://www.mplayerhq.hu/MPlayer/patches/stream_cddb_fix_20080120.diff)
+       http://www.mplayerhq.hu/MPlayer/patches/stream_cddb_fix_20080120.diff \
+       CVE-2008-0073.diff)
sha1sums=('e9b496f3527c552004ec6d01d6b43f196b43ce2d' \
'45e5ee7a5541a5f1cfd2678a6c9b5911ca473cb9' \
'ccf11dce5d0fb72fd3af97f788b7471cd0cd0b68' \
@@ -37,7 +38,8 @@ sha1sums=('e9b496f3527c552004ec6d01d6b43f196b43ce2d' \
'1e92ded6f27bf07601fa318e24ec468fe225ffe5' \
'a17d82baff58e8cc569365341503273956fd26c8' \
'e25ba7d8d696d9c6365f105134ba723404adb4e1' \
-          '8d901c7a88fa120ed26492e741e1ae0fbe57e12d')
+          '8d901c7a88fa120ed26492e741e1ae0fbe57e12d' \
+          'df2d0c46a73be32ec5e3d575532c34b939a79d5f')

# To add v4l support.
# mknod -m 660 /dev/video0 c 81 0
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to