aboutsummaryrefslogtreecommitdiffstats
path: root/src/state_file.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-03-26 10:37:44 +0000
committerEric Wong <normalperson@yhbt.net>2008-03-26 10:37:44 +0000
commitc5e1bc39e95fb2423146e062c7efade70bac2c8f (patch)
tree49b58e9cd254781dc78e9751db4708e043859813 /src/state_file.c
parentc9e6201df51dd6063fbdbdacb47cc4b9060597fd (diff)
downloadmpd-c5e1bc39e95fb2423146e062c7efade70bac2c8f.tar.gz
mpd-c5e1bc39e95fb2423146e062c7efade70bac2c8f.tar.xz
mpd-c5e1bc39e95fb2423146e062c7efade70bac2c8f.zip
fix segmentation fault in song info parser
The database parser does not check whether the song object has been initialized yet, which may lead to a NULL pointer dereference. Add this check. git-svn-id: https://svn.musicpd.org/mpd/trunk@7201 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/state_file.c')
0 files changed, 0 insertions, 0 deletions