Commit b24cbc68 authored by Max Kellermann's avatar Max Kellermann

decoder/dsdiff: fix off-by-one buffer overflow

parent 976fdd76
ver 0.19.14 (not yet released)
* decoder
- dsdiff: fix off-by-one buffer overflow
- opus: limit tag size to 64 kB
* fix build failures on non-glibc builds due to constexpr Mutex
......
......@@ -205,7 +205,7 @@ dsdiff_handle_native_tag(InputStream &is,
if (length == 0 || length > 60)
return;
char string[length];
char string[length + 1];
char *label;
label = string;
......
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