OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael Schloh
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 31-Mar-2004 12:28:24
Branch: HEAD Handle: 2004033111282400
Modified files:
openpkg-src/mplayer mplayer.patch mplayer.spec
Log:
incorporate SA code from
http://www.mplayerhq.hu/MPlayer/patches/vuln02-fix.diff
Summary:
Revision Changes Path
1.9 +11 -0 openpkg-src/mplayer/mplayer.patch
1.77 +1 -1 openpkg-src/mplayer/mplayer.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/mplayer/mplayer.patch
============================================================================
$ cvs diff -u -r1.8 -r1.9 mplayer.patch
--- openpkg-src/mplayer/mplayer.patch 20 Feb 2004 19:26:48 -0000 1.8
+++ openpkg-src/mplayer/mplayer.patch 31 Mar 2004 10:28:24 -0000 1.9
@@ -9,3 +9,14 @@
#CFLAGS=-I. -I.. -O $(WARN_FLAGS) -g #-fno-omit-frame-pointer
all: libloader.a
+--- libmpdemux/http.c.orig 2004-03-31 12:10:33.000000000 +0200
++++ libmpdemux/http.c 2004-03-31 12:10:45.000000000 +0200
+@@ -175,7 +175,7 @@
+ if( http_hdr->method==NULL ) http_set_method( http_hdr, "GET");
+ if( http_hdr->uri==NULL ) http_set_uri( http_hdr, "/");
+ else {
+- uri = (char*)malloc(strlen(http_hdr->uri)*2);
++ uri = (char*)malloc((strlen(http_hdr->uri)*3) + 1);
+ if( uri==NULL ) {
+ mp_msg(MSGT_NETWORK,MSGL_ERR,"Memory allocation failed\n");
+ return NULL;
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/mplayer/mplayer.spec
============================================================================
$ cvs diff -u -r1.76 -r1.77 mplayer.spec
--- openpkg-src/mplayer/mplayer.spec 20 Feb 2004 19:26:48 -0000 1.76
+++ openpkg-src/mplayer/mplayer.spec 31 Mar 2004 10:28:24 -0000 1.77
@@ -39,7 +39,7 @@
Group: Video
License: GPL and others
Version: %{V_mplayer}
-Release: 20040220
+Release: 20040331
# build options
%option with_gui no
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]