diff options
author | Max Kellermann <max@duempel.org> | 2008-06-14 04:16:16 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-06-14 04:16:16 +0000 |
commit | 0c2b12f0985632f5d93e1053708d23290baef698 (patch) | |
tree | 4d69bdad918b84e948a3766d00711a0a36e81088 /src/inputStream_file.c | |
parent | c55b9706f6b8c04864570e743c5fe7191e1ee0ad (diff) | |
download | mpd-0c2b12f0985632f5d93e1053708d23290baef698.tar.gz mpd-0c2b12f0985632f5d93e1053708d23290baef698.tar.xz mpd-0c2b12f0985632f5d93e1053708d23290baef698.zip |
fix strtok() related segmentation fault
strtok() may return NULL if the input is an empty string. The
playlist parser did not check for that.
git-svn-id: https://svn.musicpd.org/mpd/branches/branch-0.13.0-fixes@7378 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/inputStream_file.c')
0 files changed, 0 insertions, 0 deletions