diff options
author | Katerina Barone-Adesi <katerinab@gmail.com> | 2014-09-16 01:40:24 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-10-03 03:40:59 +0200 |
commit | 5c3bc127ca68a60f6c63cc41cb1c1382659aab1d (patch) | |
tree | ec09a82233745597bf2d10528b532f30f4a8dbd3 /libavformat/matroskadec.c | |
parent | be94d15a03e7fd65a254288f782b48f37842501f (diff) | |
download | ffmpeg-5c3bc127ca68a60f6c63cc41cb1c1382659aab1d.tar.gz |
apetag: Fix APE tag size check
The size variable is (correctly) unsigned, but is passed to several functions
which take signed parameters, such as avio_read, sometimes after having
numbers added to it. So ensure that size remains within the bounds that
these functions can handle.
CC: libav-stable@libav.org
Signed-off-by: Diego Biurrun <diego@biurrun.de>
(cherry picked from commit c5560e72d0bb69f8a1ac9536570398f84388f396)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/matroskadec.c')
0 files changed, 0 insertions, 0 deletions