aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer2array.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-03-26 10:37:40 +0000
committerEric Wong <normalperson@yhbt.net>2008-03-26 10:37:40 +0000
commitc9e6201df51dd6063fbdbdacb47cc4b9060597fd (patch)
treef4cb552c77007685086c346018591d47bfa9bcd8 /src/buffer2array.c
parentc5b524e3762723a200156b79efd58192db320e5b (diff)
downloadmpd-c9e6201df51dd6063fbdbdacb47cc4b9060597fd.tar.gz
mpd-c9e6201df51dd6063fbdbdacb47cc4b9060597fd.tar.xz
mpd-c9e6201df51dd6063fbdbdacb47cc4b9060597fd.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/trunk@7200 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/buffer2array.c')
0 files changed, 0 insertions, 0 deletions