diff options
author | Max Kellermann <max@duempel.org> | 2009-01-22 16:14:34 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-22 16:14:34 +0100 |
commit | 1f8a1cbc08c87369583e57d44ee165b40346b7cf (patch) | |
tree | 09a3cf0ed32a7091803a8f48a0be06897bfe9df8 /scripts/makedist.sh | |
parent | 1e6a26b6cae1e9bd90d820c6ea4ec8be2da2da91 (diff) | |
download | mpd-1f8a1cbc08c87369583e57d44ee165b40346b7cf.tar.gz mpd-1f8a1cbc08c87369583e57d44ee165b40346b7cf.tar.xz mpd-1f8a1cbc08c87369583e57d44ee165b40346b7cf.zip |
playlist: fix buffer underflow when getting current song
The function moveSongInPlaylist() attempted to read the position of
the current song, even if it was -1. Check that first. The same bug
was in shufflePlaylist().
Diffstat (limited to 'scripts/makedist.sh')
0 files changed, 0 insertions, 0 deletions