decoder/dsd: allow 4 MB ID3 tags

Closes 
This commit is contained in:
Max Kellermann
2018-05-07 10:53:48 +02:00
parent 6522d2f722
commit b763852f57
2 changed files with 2 additions and 1 deletions
NEWS
src/decoder/plugins

@@ -128,7 +128,7 @@ dsdlib_tag_id3(InputStream &is,
return;
const auto count64 = size - tagoffset;
if (count64 < 10 || count64 > 1024 * 1024)
if (count64 < 10 || count64 > 4 * 1024 * 1024)
return;
if (!dsdlib_skip_to(nullptr, is, tagoffset))