[vlc-devel] commit: XSPF: remove harmful base decoding ( Rémi Denis-Courmont )

Rémi Denis-Courmont remi at remlab.net
Tue Jun 23 22:12:22 CEST 2009


Le mardi 23 juin 2009 23:02:30 Rafaël Carré, vous avez écrit :
> On Tue, 23 Jun 2009 21:57:26 +0200 (CEST)
>
> git at videolan.org (git version control) wrote:
> > vlc | branch: 1.0-bugfix | Rémi Denis-Courmont <remi at remlab.net> |
> > Tue Jun 23 22:56:36 2009 +0300|
> > [9d3fbd002c9aff5136dfaadf323635828f2b4505] | committer: Rémi
> > Denis-Courmont
> >
> > XSPF: remove harmful base decoding
> >
> > (cherry picked from commit 993d4fcc4a511fc1b5d3bc3cafb262dd20e5cf40)
> >
> > Conflicts:
> >
> > 	modules/demux/playlist/xspf.c
>
> ..
>
> > @@ -546,21 +546,18 @@ static bool parse_track_node COMPLEX_INTERFACE
> >                  /* special case: location */
> >                  if( !strcmp( p_handler->name, "location" ) )
> >                  {
> > -                    char *psz_location = psz_value;
> > -                    if( !strncmp( psz_value, "file://", 7 ) )
> > -                        psz_location = decode_URI( psz_value + 7 );
> > -
> > -                    if( !psz_location )
> > -                    {
> > -                        FREE_ATT();
> > -                        return false;
> > -                    }
> > -
> > +                    /* FIXME: This is broken. Scheme-relative
>
> This does a bit more than what the commit log says, you could have
> mentioned it at least, and also the commit where it was introduced.

Yeah. I should have. And you should have backported your own fixes so that the 
issue would have been moot.

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list