diff options
author | Max Kellermann <max@duempel.org> | 2008-03-26 10:37:44 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-03-26 10:37:44 +0000 |
commit | c5e1bc39e95fb2423146e062c7efade70bac2c8f (patch) | |
tree | 49b58e9cd254781dc78e9751db4708e043859813 /src/player.h | |
parent | c9e6201df51dd6063fbdbdacb47cc4b9060597fd (diff) | |
download | mpd-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/player.h')
0 files changed, 0 insertions, 0 deletions