Changeset 5db73af5fe905f85e3761f38fa15271cd3ef3071
- Timestamp:
- 16/10/07 14:44:47
(1 year ago)
- Author:
- Rafaël Carré <funman@videolan.org>
- git-committer:
- Rafaël Carré <funman@videolan.org> 1192538687 +0000
- git-parent:
[f4af45cf8961bf6003d8d232b6dd26620576263c]
- git-author:
- Rafaël Carré <funman@videolan.org> 1192538687 +0000
- Message:
fix [22632]: check psz_arturl before using it
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rf4af45c |
r5db73af |
|
| 166 | 166 | |
|---|
| 167 | 167 | char *psz_arturl = input_item_GetArtURL( p_item ); |
|---|
| 168 | | if( !strncmp( psz_arturl, "file://", strlen( "file://" ) ) ) |
|---|
| | 168 | if( psz_arturl && !strncmp( psz_arturl, "file://", strlen( "file://" ) ) ) |
|---|
| 169 | 169 | { |
|---|
| 170 | 170 | free( psz_arturl ); |
|---|
| rf4af45c |
r5db73af |
|
| 535 | 535 | /* We already have all needed meta, but we need art right now */ |
|---|
| 536 | 536 | else if( p_playlist->p_fetcher->i_art_policy == ALBUM_ART_ALL && |
|---|
| 537 | | strncmp( psz_arturl, "file://", strlen("file://") ) ) |
|---|
| | 537 | !psz_arturl ? 1 : |
|---|
| | 538 | strncmp( psz_arturl, "file://", strlen("file://") ) ) |
|---|
| 538 | 539 | { |
|---|
| 539 | 540 | preparse_item_t p; |
|---|