aboutsummaryrefslogtreecommitdiff
path: root/src/daemon.c
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/daemon.c
parent7f3be96efa222aba1661adf2fc83a0e60e8b9aef (diff)
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/daemon.c')
0 files changed, 0 insertions, 0 deletions