[FFmpeg-devel] AVDictionary for binary tags
Reimar.Doeffinger at gmx.de
Sat Jan 21 10:09:25 CET 2012
On Sat, Jan 21, 2012 at 09:55:42AM +0100, Reimar Döffinger wrote:
> What if someone tries to add 6GB large binary data? Or exactly 4 GB?
> No, this would not work "well" at all with base64-encoded data, but
> at least those issues aren't almost certain to cause a crash or similar.
Not so sure about that last part (that base64 has an advantage there)
anymore, but anyway after checking again I think your patch has a
potentially exploitable issue on systems where size_t is 32 bits due
to the av_malloc argument being truncated.
More information about the ffmpeg-devel