diff options
author | Jan Brittenson <bson@rockgarden.net> | 2014-12-22 22:26:55 -0800 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-12-23 09:49:33 +0100 |
commit | 35db88affe5d158c1bfda46e4cd0f8c69db4426d (patch) | |
tree | b32a17a9100bc49f03d94f7c1bee3a422d998d84 /src/archive/ZzipArchivePlugin.cxx | |
parent | e38faca455995f1ae7df54780ffeed53c8037346 (diff) | |
download | mpd-35db88affe5d158c1bfda46e4cd0f8c69db4426d.tar.gz mpd-35db88affe5d158c1bfda46e4cd0f8c69db4426d.tar.xz mpd-35db88affe5d158c1bfda46e4cd0f8c69db4426d.zip |
DSF ID3 tags hitting 4k size limit
Here's a change to dynamically allocate the DSD ID3 tag buffer.
Pretty much anything with cover art is going to exceed the existing,
static 4k limit... Here's a change to dynamically allocate the buffer
and sanity check it at some upper limit. I rather arbitrarily pulled
256k out of thin air just to keep a corrupt file from causing it to
trying to allocate a buffer larger than available memory.
Diffstat (limited to 'src/archive/ZzipArchivePlugin.cxx')
0 files changed, 0 insertions, 0 deletions