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:   26-Sep-2003 20:44:15
  Branch: HEAD                             Handle: 2003092619441400

  Modified files:
    openpkg-src/mplayer     mplayer.patch

  Log:
    Include patch for MPlayer Security Advisory #01

  Summary:
    Revision    Changes     Path
    1.5         +17 -0      openpkg-src/mplayer/mplayer.patch
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/mplayer/mplayer.patch
  ============================================================================
  $ cvs diff -u -r1.4 -r1.5 mplayer.patch
  --- openpkg-src/mplayer/mplayer.patch 6 Sep 2003 15:41:33 -0000       1.4
  +++ openpkg-src/mplayer/mplayer.patch 26 Sep 2003 18:44:14 -0000      1.5
  @@ -48,3 +48,20 @@
    #endif
    
    ////////// NetInterface //////////
  +diff -Naur mplayer-1.0pre1.orig/libmpdemux/asf_streaming.c 
mplayer-1.0pre1/libmpdemux/asf_streaming.c
  +--- libmpdemux.orig/asf_streaming.c  Fri Aug 15 21:13:23 2003
  ++++ libmpdemux/asf_streaming.c       Fri Sep 26 20:22:45 2003
  +@@ -502,11 +502,11 @@
  +                     return NULL;
  +             }
  +             http_set_uri( http_hdr, server_url->url );
  +-            sprintf( str, "Host: %s:%d", server_url->hostname, server_url->port );
  ++            sprintf( str, "Host: %.220s:%d", server_url->hostname, 
server_url->port );
  +             url_free( server_url );
  +     } else {
  +             http_set_uri( http_hdr, url->file );
  +-            sprintf( str, "Host: %s:%d", url->hostname, url->port );
  ++            sprintf( str, "Host: %.220s:%d", url->hostname, url->port );
  +     }
  +     
  +     http_set_field( http_hdr, str );
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to