Changeset 05c8198d0fb455cac11022f0a5e483729b02a7ee
- 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
| r3f07af6 |
r05c8198 |
|
| 146 | 146 | psz_artist = strdup( psz_artist ); |
|---|
| 147 | 147 | } |
|---|
| | 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 | */ |
|---|
| 148 | 155 | else if( !strncasecmp( psz_parse, "EXTVLCOPT:", |
|---|
| 149 | 156 | sizeof("EXTVLCOPT:") -1 ) ) |
|---|
| … | … | |
| 159 | 166 | psz_option ); |
|---|
| 160 | 167 | } |
|---|
| | 168 | #endif |
|---|
| 161 | 169 | } |
|---|
| 162 | 170 | else if( !strncasecmp( psz_parse, "RTSPtext", sizeof("RTSPtext") -1 ) ) |
|---|