diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-02-06 11:32:03 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-02-09 03:31:17 +0100 |
commit | 14d735bd4f7c1dda547d4a4bd3de31536ef11a2a (patch) | |
tree | 13aa9d5947b791b3a27b8d37936c88482b305836 /libavcodec/Makefile | |
parent | cb9f7fd34c07de6bceb1fb03057f5f0fe42ca0e8 (diff) | |
download | ffmpeg-14d735bd4f7c1dda547d4a4bd3de31536ef11a2a.tar.gz |
matroskadec: add generic element length validation.
This validate the length of a mkv element directly after reading
it.
This has the advantage that it is easy to add new limits and makes
it less likely to forget to add checks and also avoids issues like
bits of the length value above the first 32 being ignored because
the parsing functions only takes an int.
Previously discussed in the "mkv 0-byte integer parsing" thread.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 95ec3d4cacd084e2448c3a1aba420e7d8f00e19b)
Diffstat (limited to 'libavcodec/Makefile')
0 files changed, 0 insertions, 0 deletions