aboutsummaryrefslogtreecommitdiffstats
path: root/src/song.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-17 19:56:36 +0100
committerMax Kellermann <max@duempel.org>2009-01-17 19:56:36 +0100
commit2bbf378dd8a3f12b4b79228ce562402c29d2cd09 (patch)
tree47985e2fc1bf22b44c7f560f8b5a4e0ae836418b /src/song.h
parent7f3be96efa222aba1661adf2fc83a0e60e8b9aef (diff)
downloadmpd-2bbf378dd8a3f12b4b79228ce562402c29d2cd09.tar.gz
mpd-2bbf378dd8a3f12b4b79228ce562402c29d2cd09.tar.xz
mpd-2bbf378dd8a3f12b4b79228ce562402c29d2cd09.zip
song: skip archive check for non-musicdir files
If a song is not within the music directory ("file:///..."), it has no "parent directory". The archive code nonetheless dereferences the parent pointer, causing a segmentation fault. Check parent!=NULL.
Diffstat (limited to 'src/song.h')
0 files changed, 0 insertions, 0 deletions