diff options
author | Max Kellermann <max@duempel.org> | 2009-01-17 19:56:36 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-17 19:56:36 +0100 |
commit | 2bbf378dd8a3f12b4b79228ce562402c29d2cd09 (patch) | |
tree | 47985e2fc1bf22b44c7f560f8b5a4e0ae836418b /src/command.c | |
parent | 7f3be96efa222aba1661adf2fc83a0e60e8b9aef (diff) | |
download | mpd-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 '')
0 files changed, 0 insertions, 0 deletions