diff options
author | Katerina Barone-Adesi <katerinab@gmail.com> | 2014-09-16 01:40:24 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-09-17 07:22:08 -0700 |
commit | 56ac2cbd0464e0146e62c91843e2b1f5e0908504 (patch) | |
tree | 0f33e300ff62461d09fd179904fe60b5c36e3e7b /libavcodec/unary.h | |
parent | 606bbd50b1ebaa3c040fc7cab84f1d8bb5d3d248 (diff) | |
download | ffmpeg-56ac2cbd0464e0146e62c91843e2b1f5e0908504.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.
(cherry picked from commit d14696c99ccac12a052ce10e70859ffc0293ed6a)
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavcodec/unary.h')
0 files changed, 0 insertions, 0 deletions