aboutsummaryrefslogtreecommitdiffstats
path: root/src/zeroconf.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-09 15:35:34 +0200
committerMax Kellermann <max@duempel.org>2008-10-09 15:35:34 +0200
commit702739b879e1515fad571df0590be3e3f1e22cae (patch)
treeb5443db967d2506557e91600ee00a9624a25ea56 /src/zeroconf.c
parentcbc076461371fca57749191fb323cf75b43d9544 (diff)
downloadmpd-702739b879e1515fad571df0590be3e3f1e22cae.tar.gz
mpd-702739b879e1515fad571df0590be3e3f1e22cae.tar.xz
mpd-702739b879e1515fad571df0590be3e3f1e22cae.zip
directory: check the absolute path of a subdirectory while loading
A manipulated database could trigger an assertion failure, because the parent didn't match. Do a proper check if the new directory is within the parent's. This uses FATAL() to bail out, so MPD still dies, but it doesn't crash.
Diffstat (limited to 'src/zeroconf.c')
0 files changed, 0 insertions, 0 deletions