Commit b07bbb92 authored by Max Kellermann's avatar Max Kellermann

decoder/dsdiff: allow longer tag values

parent 3b5a1280
......@@ -201,7 +201,7 @@ dsdiff_handle_native_tag(DecoderClient *client, InputStream &is,
uint32_t length = FromBE32(metatag.size);
/* Check and limit size of the tag to prevent a stack overflow */
constexpr size_t MAX_LENGTH = 60;
constexpr size_t MAX_LENGTH = 1024;
if (length == 0 || length > MAX_LENGTH)
return;
......
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