Commit 0d986772 authored by Max Kellermann's avatar Max Kellermann

playlist/flac: copy the URI to fix use-after-free bug

parent 38f0c169
......@@ -3,6 +3,8 @@ ver 0.21.6 (not yet released)
- allow loading playlists specified as absolute filesystem paths
* input
- cdio_paranoia: fix build failure due to missing #include
* playlist
- flac: fix use-after-free bug
* support abstract sockets on Linux
ver 0.21.5 (2019/02/22)
......
......@@ -34,7 +34,7 @@
#include <FLAC/metadata.h>
class FlacPlaylist final : public SongEnumerator {
const char *const uri;
const std::string uri;
FLAC__StreamMetadata *const cuesheet;
const unsigned sample_rate;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment