diff options
author | Max Kellermann <max@duempel.org> | 2008-06-14 04:16:21 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-06-14 04:16:21 +0000 |
commit | 2e4c199274c67f729299a4b494a7614f23f4b084 (patch) | |
tree | 941444567b970c94438f92a60b9ee2dd0c576097 /src/log.h | |
parent | 0c2b12f0985632f5d93e1053708d23290baef698 (diff) | |
download | mpd-2e4c199274c67f729299a4b494a7614f23f4b084.tar.gz mpd-2e4c199274c67f729299a4b494a7614f23f4b084.tar.xz mpd-2e4c199274c67f729299a4b494a7614f23f4b084.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/branches/branch-0.13.0-fixes@7379 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/log.h')
0 files changed, 0 insertions, 0 deletions