mpd/src/song
Max Kellermann d4d06da2f8 db/simple: fix dangling LightSong::tag reference in moved ExportedSong
After commit 1afa33c3c7, an old bug was revealed:
SimpleDatabase::GetSong() constructs an ExportedSong instance by
moving the return value of Song::Export(), which causes the
LightSong::tag field to be dangling on the moved-from
ExportedSong::tag_buffer.  This broke tags from CUE sheets.

Closes https://github.com/MusicPlayerDaemon/MPD/issues/1070
2021-02-15 17:38:37 +01:00
..
AndSongFilter.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
AndSongFilter.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
AudioFormatSongFilter.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
AudioFormatSongFilter.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
BaseSongFilter.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
BaseSongFilter.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
DetachedSong.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
DetachedSong.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
Escape.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
Escape.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
Filter.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
Filter.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
ISongFilter.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
LightSong.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
LightSong.hxx db/simple: fix dangling LightSong::tag reference in moved ExportedSong 2021-02-15 17:38:37 +01:00
meson.build util/Time*: move to time/ 2019-12-16 23:02:14 +01:00
ModifiedSinceSongFilter.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
ModifiedSinceSongFilter.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
NotSongFilter.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
OptimizeFilter.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
OptimizeFilter.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
StringFilter.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
StringFilter.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
TagSongFilter.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
TagSongFilter.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
UriSongFilter.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
UriSongFilter.hxx copyright year 2021 2021-01-01 19:54:28 +01:00