Changeset 05c8198d0fb455cac11022f0a5e483729b02a7ee

Show
Ignore:
Timestamp:
11/20/07 19:54:04 (10 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1195584844 +0000
git-parent:

[b83bd217a9bdb163c50bb60aec1007113e5f11a1]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1195584844 +0000
Message:

Remove VLCOPT support from M3U parser.
This was blatantly insecure.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/demux/playlist/m3u.c

    r3f07af6 r05c8198  
    146146                    psz_artist = strdup( psz_artist ); 
    147147            } 
     148#if 0 
     149            /* You're going to need a pretty strong explanation, why 
     150             * this is not a big security hole if you are to uncomment 
     151             * this piece of code. Potentially untrusted input file must 
     152             * not be allowed to specify options in an open-handed fashion. 
     153             * -- Courmisch 
     154             */ 
    148155            else if( !strncasecmp( psz_parse, "EXTVLCOPT:", 
    149156                                   sizeof("EXTVLCOPT:") -1 ) ) 
     
    159166                                 psz_option ); 
    160167            } 
     168#endif 
    161169        } 
    162170        else if( !strncasecmp( psz_parse, "RTSPtext", sizeof("RTSPtext") -1 ) )